Websocket example based on Node.js