code: function _connect() {
          if (!_isDisconnected()) {
              var bayeuxMessage = {
                  id: _nextMessageId(),
                  channel: '/meta/connect',
                  connectionType: _transport.getType()
              };
  
              // In case of reload or temporary loss of connection
              // we want the next successful connect to return immediately
              // instead of being held by the server, so that connect listeners
              // can be notified that the connection has been re-established
              if (!_connected) {
                  bayeuxMessage.advice = { timeout: 0 };
              }
  
              _setStatus('connecting');
              _cometd._debug('Connect sent', bayeuxMessage);
              _send(false, [bayeuxMessage], true, 'connect');
              _setStatus('connected');
          }
      }
docs: Sends the connect message