Fix server.js for the new version of bluemix socket