support custom createConnection for WebSocket