code: function BrowserStackSessionManager(options) {
  
    log.debug('[chimp][browserstack-session-manager] options are', options);
  
    var host = options.host.replace(/hub\.|hub-cloud\./, 'api.');
    var browserStackBaseUrl = 'https://' + options.user + ':' + options.key + '@' + host;
    options.browserStackUrl = browserStackBaseUrl;
  
    this.options = options;
  
    this.maxRetries = 30;
    this.retryDelay = 3000;
    this.retry = 0;
  
    // this will be set by the remote and multiremote methods from
    // desiredCapabilities
    this.buildName = null;
  
    log.debug('[chimp][browserstack-session-manager] created a new SessionManager', options);
  
  }
docs: SessionManager Constructor
  
  @param {Object} options
  @api public