implemented HTTPResponse::clear and cleaned up the HTTPRequestHandler