 }

            addMessage('system', 'Running Osprey compatibility test...');

            // Test messages that match the Osprey WebSocket example
            const ospreyMessages = [
                'Hello WebSocket!',
                'Real-time message 1',
                'Real-time message 2',
                '{"type": "user_message", "data": {"user": "Alice", "message": "Hello everyone!"}}',
                '{"type": "status", "user": "Alice", "status": "online"}',
                'Alice: Hey everyone!