docs: function CouchDB () {
    var self = this;
  
    self.klass = CouchDB;
    self.klass.super_.apply(self, arguments);
  
    if (self.options.server.protocol === 'https') {
      self.options.server.port = self.options.server.port || 443;
      self.options.server.secure = true;
    }
  
    if (self.options.server.username || self.options.server.password) {
      self.options.client.auth = {
        username: self.options.server.username,
        password: self.options.server.password
      };
    }
  }