code: function XHR (opts) {
    Polling.call(this, opts);
  
    if (global.location) {
      this.xd = opts.host != global.location.hostname ||
        global.location.port != opts.port;
    }
  }
docs: XHR Polling constructor.
  
  @param {Object} opts
  @api public