fix of https://github.com/nodejitsu/node-http-proxy/issues/738