log request and response for node.js app