websocket configuration