tried to implement the new websocket server