create cup for websocket server