It looks like a peanut worm, I've found them in my tank before. The head kind of looks like the nose of a vole. They retract the head back inside their body. They're good guys. If you have Ron Shemik's book on invertebrates, there's a photo of one in there.