docs: function getHostname(httpOptions) {
    if (httpOptions.uri && httpOptions.uri.hostname) {
      return httpOptions.uri.hostname;
    } else if (httpOptions.hostname) {
      return httpOptions.hostname;
    } else if (httpOptions.host) {
      return httpOptions.host;
    }
    return 'Unknown';
  }