code: function normalizeOptions(options) {
    options = options ? options : {}
    if (!options.headers) {
      options.headers = {}
    }
    if (!options.query) {
      options.query = {}
    }
    if (!options.hasOwnProperty('auth')) {
      options.auth = true
    }
    return options
  }
docs: Normalize Options
  
  Takes a request options object and
  normalizes it so requests won't fail.