code: public static MfClientHttpRequestFactory createFactoryWrapper(
              final MfClientHttpRequestFactory requestFactory,
              final UriMatchers matchers, final Map<String, List<String>> headers) {
          return new AbstractMfClientHttpRequestFactoryWrapper(requestFactory, matchers, false) {
              @Override
              protected ClientHttpRequest createRequest(
                      final URI uri,
                      final HttpMethod httpMethod,
                      final MfClientHttpRequestFactory requestFactory) throws IOException {
                  final ClientHttpRequest request = requestFactory.createRequest(uri, httpMethod);
                  request.getHeaders().putAll(headers);
                  return request;
              }
          };
      }
docs: Create a MfClientHttpRequestFactory for adding the specified headers.
  
  @param requestFactory the basic request factory.  It should be unmodified and just wrapped with
  a proxy class.
  @param matchers The matchers.
  @param headers The headers.
  @return