code: function(bodyWrap) {
          var error = this._check_streamerror(bodyWrap, Strophe.Status.CONNFAIL);
          if (error) {
              return Strophe.Status.CONNFAIL;
          }
      }
docs: PrivateFunction: _connect_cb
  _Private_ function called by Strophe.Connection._connect_cb
  
  checks for stream:error
  
  Parameters:
  (Strophe.Request) bodyWrap - The received stanza.