ener('click', async () => {
      if (client) {
        try {
          await client.close();
          log('Disconnected from server', 'info');
          connectButton.disabled = false;
          disconnectButton.disabled = true;
        } catch (error) {
          log(`Error disconnecting: ${error.message}`, 'error');
        }
      }
    });

    // Display WebTransport availability
    if (typeof WebTransport === 'undefined') {
      log('WebTransport is not available in your browser. Please use a brow