code: function (period, handler)
      {
          var thand = new Strophe.TimedHandler(period, handler);
          this.addTimeds.push(thand);
          return thand;
      }
docs: Function: addTimedHandler
  Add a timed handler to the connection.
  
  This function adds a timed handler.  The provided handler will
  be called every period milliseconds until it returns false,
  the connection is terminated, or the handler is removed.  Handlers
  that wish to continue being invoked should return true.
  
  Because of method binding it is necessary to save the result of
  this function if you wish to remove a handler with
  deleteTimedHandler().
  
  Note that user handlers are not active until authentication is
  successful.
  
  Parameters:
  (Integer) period - The period of the handler.
  (Function) handler - The callback function.
  
  Returns:
  A reference to the handler that can be used to remove it.