docs: private boolean headerEq(HttpRequestBase request, String headerName, String headerValue) {
          Header[] headers = request.getAllHeaders();
          if (headers != null) {
              for(Header h : headers) {
                  if (headerName.equalsIgnoreCase(h.getName()) && headerValue.equalsIgnoreCase(h.getValue())) {
                      return true;
                  }
              }
          }
          return false;
      }