docs: function patchHttpClient() {
    const _ClientRequest = http.ClientRequest;
  
    function patchedHttpClient(options, done) {
      if (http.OutgoingMessage) http.OutgoingMessage.call(this);
  
      const hostname = getHostname(options);
  
      // Ignore localhost requests
      if (hostname.indexOf('127.0.0.1') === -1 && hostname.indexOf('localhost') === -1) {
        if (hostnames[hostname]) {
          hostnames[hostname]++;
        } else {
          hostnames[hostname] = 1;
        }
  
        testRequests.push(getHref(options));
      }
  
      _ClientRequest.call(this, options, done);
    }
  
    if (http.ClientRequest) {
      inherits(patchedHttpClient, _ClientRequest);
    } else {
      inherits(patchedHttpClient, EventEmitter);
    }
  
    http.ClientRequest = patchedHttpClient;
  
    http.request = function(options, done) {
      return new http.ClientRequest(options, done);
    };
  }