close socket if upstream request fails

adds socket.end() to on('error') handlers for proxyReq and proxySocket