TooTallNate/proxy — pull request #4 by Regul777 (2014-10-09 22:02:32+00:00)
Title: add pre-request and pre-response handlers

It's should be useful to be able to catch (or change) requests and
responses:

server.on('proxyRequest', function(req){
req.url = 'http://change_anything_eg/';
});
server.on('proxyResponse', function(req, resp){
resp.headers.change_header_eg = 'true';
});