websocket support init