Allow to change the HTTP client in generator