docs: function (jid, pass, callback, wait, hold, route)
      {
          this.jid = jid;
          /** Variable: authzid
           *  Authorization identity.
           */
          this.authzid = Strophe.getBareJidFromJid(this.jid);
          /** Variable: authcid
           *  Authentication identity (User name).
           */
          this.authcid = Strophe.getNodeFromJid(this.jid);
          /** Variable: pass
           *  Authentication identity (User password).
           */
          this.pass = pass;
          /** Variable: servtype
           *  Digest MD5 compatibility.
           */
          this.servtype = "xmpp";
          this.connect_callback = callback;
          this.disconnecting = false;
          this.connected = false;
          this.authenticated = false;
  
          // parse jid for domain
          this.domain = Strophe.getDomainFromJid(this.jid);
  
          this._changeConnectStatus(Strophe.Status.CONNECTING, null);
  
          this._proto._connect(wait, hold, route);
      }