Improved HTTP parser.