public OkHttpClient get(boolean keepAlive, boolean skipTLSVerify) {
        try {
            return cache.get(Parameters.fromBoolean(keepAlive, skipTLSVerify));
        } catch (ExecutionException e) {
            throw new RuntimeException(e);
        }
    }
@Test
    public void tesTlsVerifyAndKeepAlive() throws IOException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException {
        final ParameterizedHttpClientProvider provider = new ParameterizedHttpClientProvider(client(null));
        final OkHttpClient okHttpClient = provider.get(true, false);

        assertThat(okHttpClient.sslSocketFactory().createSocket().getOption(StandardSocketOptions.SO_KEEPALIVE)).isTrue();

        assertThrows(SSLHandshakeException.class,
                () -> okHttpClient.newCall(new Request.Builder().url(server.url("/")).get().build()).execute(),
                "should not have succeeded");
    }