code: function () {
          var protocol = this.protocol || PROTOCOL_HTTP,
              port = this.port ? this.port.toString() : undefined,
              host = ((port === HTTP_PORT ||
                  port === HTTPS_PORT ||
                  port === undefined) && this.host.join(DOMAIN_SEPARATOR)) || (this.host.join(DOMAIN_SEPARATOR) +
                      PORT_SEPARATOR + port),
              path = this.getPath();
  
          protocol = (_.endsWith(protocol, PROTOCOL_SEPARATOR) ? protocol : protocol + PROTOCOL_SEPARATOR);
          return protocol.toLowerCase() + host.toLowerCase() + path;
      }
docs: Returns a OAuth1.0-a compatible representation of the request URL, also called "Base URL".
  For details, http://oauth.net/core/1.0a/#anchor13
  
  todo: should we ignore the auth parameters of the URL or not? (the standard does not mention them)
  we currently are.
  
  @private
  @returns {String}
  
  @deprecated since v3.5 in favour of getBaseUrl
  @todo discontinue in v4.0