An example websocket app in node.js