Improved error handling for http-server, now outputs stderr and callback only sends the actual error