private HttpClientOptions createVertxClientOptions(URI artifactUrl, boolean isTls) {
        HttpClientOptions httpClientOptions = new HttpClientOptions(defaultHttpClientOptions);

        if (isTls) {
            httpClientOptions.setSsl(true);
        }

        proxySelector.setProxyOptions(artifactUrl, httpClientOptions);

        return httpClientOptions;
    }
@see io.apiman.gateway.engine.impl.DefaultPluginRegistry#downloadArtifactTo(java.net.URL, java.io.File,
     io.apiman.gateway.engine.async.IAsyncResultHandler)
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/engine/VertxPluginRegistry.java