Would you be opposed to setting the default connection factory in a static method? This way there doesn't have to be any dependency and the usage with OkHttp can just be a gist. Plus it also improves testability since you can replace the connection factory globally to hook up something like MockWebServer without needing to propagate a base URL throughout your app.