Rewrote htparser to handle both HTTP/1.0 and HTTP/1.1.