Created by: georgiyordanov
Global options are being overwritten from proxy.web(req, res, opts)
, which breaks some more complex scenarios like proxying to multiple servers with different options.
This is essentially the same as https://github.com/nodejitsu/node-http-proxy/pull/833 but with a test case.