What you describe is the larva of an Anobiid wood boring beetle, often called a Deathwatch Beetle.

http://www.ipm.ucdavis.edu/PMG/PESTNOTES/pn7418.html

You will need to have your home...