Websocket example written in node.js