Created by: fjakobs
fixes https://github.com/nodejitsu/node-http-proxy/issues/964
I'm propagating errors when writing the headers. This is consistent with the way errors in http.request
are handled https://github.com/nodejitsu/node-http-proxy/blob/master/lib/http-proxy/passes/web-incoming.js#L135.