code: function init(msg, done) {
    var config = {
      context: opts.context,
      adapter: opts.adapter,
      routes: opts.routes,
      auth: opts.auth,
      options: opts.options
    }
  
    setServer.call(this, config, done)
  }
docs: This is called as soon as the plugin is loaded (when it returns). Any routes or customisations passed via options will be processed now via a call to setServer.