Improve Node.js compatibility: ensure that http.Server.listen() returns the server object.