public void setAllowedHostsForRedirect(Set<String> allowedHostsForRedirect) {
        this.allowedHostsForRedirect = allowedHostsForRedirect;
    }
This holds quite a bit of state and is not thread safe.  Beware!
<p>
Also, we're currently ignoring the SSL checks.  Please open a ticket/PR
if you need robust SSL.
tika-pipes/tika-httpclient-commons/src/main/java/org/apache/tika/client/HttpClientFactory.java