To do the equivalent of `curl -k` is surprisingly cumbersome in Java.