Sample of chat using websocket