close socket if upstream request fails

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

covers a case that I thought I was testing for in #708, but missed because the client `error` event simply didn't fire.