function getDefaultHostName(opts) {
  return opts.hostname || opts.host || DEFAULT_HOST
}
Determines the default hostname based on http opts

@param {object} opts HTTP request options
@returns {string} default host