This is precisely why I wear undies to bed. Too much freedom down there and it's just a sloppy mess that needs to be contained. Boxers keeps it all in one neat place. :)
But I usually sleep with a sweater and sweats/pj bottoms. Socks are a no, that just gets too hot.