Connect to a WebSocket endpoint.
Future<void> connect( String url, { Map<String, dynamic>? headers, Map<String, dynamic>? options, });