It is a parasite of some sort. I am not as familiar with appearance of adult parasites of chickens as I would like, but if it is not from a chicken, then a subadult horsehair worm coming a grasshopper or cricket is your guy. The horsehair worm when ready to come out directs host to water, kills it then emerges and gets into water where it stays until next spring to produce young that infect next years crickets and grasshoppers.