HTTPServerConnection: refactored (for performance).
HTTPServerConnection: refactored (for performance). #2