simplify websocket server