close socket if upstream request fails

adds socket.end() to on('error') handlers for proxyReq and proxySocket
Merge pull request #709 from minrk/close-on-error

close socket if upstream request fails