On the wire, it's just headers followed by \n\n followed by body the size of Content-length :-)
HTTP is a child's play.