Updated Trex server for Node.js