code: function(options) {
  
      var self = this;
  
      console.log('options are', options);
  
      this.connected = false;
  
      this.config = this.getConfig(options);
  
      this.cbSocketWrapper = new CBSocketWrapper(this.config);
  
      this.cbSocketWrapper.on('connect', function(message) {
          self.connected = true;
          self.emit('connect');
          logger.log('debug', 'Client connect');
      });
  
      this.cbSocketWrapper.on('disconnect', function(message) {
          self.connected = false;
          self.emit('disconnect');
      });
  
      this.cbSocketWrapper.on('message', function(message) {
  
          self.emit('message', message);
  
          var source = message.get('source');
          self.emit(source, message);
          //logger.info('CB => Client: ', message)
      });
  
      // Restart connection process on 'giveUp'
      this.cbSocketWrapper.on('fail', function() {
          self.cbSocketWrapper.giveUp();
          self.connect();
      });
  
      this.faultTolerantAuth = retry.operation()
  
      this.connect();
  }
docs: /* Establishes and maintains web socket connection to Continuum Bridge servers