Our auto-configured ClientHttpRequestFactoryBuilder is detected using the global class loader and not the bean class loader. This makes it harder to write tests for it.
Arguably this is a bug, but since nobody has complained and a new API is required we should fix it only in 3.5.x.