remove proxy_request.end() form the error handlers in connect_req_handler; and fixed the function name..