An websocket chat sample with nodejs