im a bit new to rigging, but just a suggestion in searching... a worm would probably be rigged allot like a snake. so you may want to search for that instead. if you havent researched the "ik spline tool", its probably a good direction to start in. its only marginal help, but ...
-stellar