Error handler for Node.js application http server