improve HttpParser