long chunked message parser, some cleanup
http_receive tests