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';
});