const socket = new WebSocket('wss://example.com', { rejectUnauthorized: false });