a simple websocket server for a chat