tried to implement new websocket server