http_read_version and http_read_header
proper keepalive implementation for http/1.1
clean up http parser