private void addProxy(HttpClientBuilder builder) {
        if (!StringUtils.isBlank(proxyHost)) {
            HttpHost proxy = new HttpHost(proxyHost, proxyPort);
            DefaultProxyRoutePlanner proxyRoutePlanner = new DefaultProxyRoutePlanner(proxy);
            builder.setRoutePlanner(proxyRoutePlanner);
        }
    }
only basic and ntlm are supported

@param authScheme
tika-pipes/tika-httpclient-commons/src/main/java/org/apache/tika/client/HttpClientFactory.java