NodeJS proxy server that captures request and response statistics