Simple and safe web chat based on websocket