code cleanup for HTTP parser