code: function (handRef)
      {
          // this must be done in the Idle loop so that we don't change
          // the handlers during iteration
          this.removeHandlers.push(handRef);
          // If a handler is being deleted while it is being added,
          // prevent it from getting added
          var i = this.addHandlers.indexOf(handRef);
          if (i >= 0) {
              this.addHandlers.splice(i, 1);
          }
      }
docs: Function: deleteHandler
  Delete a stanza handler for a connection.
  
  This function removes a stanza handler from the connection.  The
  handRef parameter is *not* the function passed to addHandler(),
  but is the reference returned from addHandler().
  
  Parameters:
  (Strophe.Handler) handRef - The handler reference.