It would be great to have an ability to set a custom HTTP client implementation. Take a look at the Retrofit for example. This is especially useful for such cases when you have an ability to use HTTP 2, which is nicely handled via OkHttp.