Enable to inject a RequestFactory in a RestTemplate