Chat using websocket