static RetryException wrap(IOException exception, ClassicHttpRequest request) {
            return new RetryException(new UncheckedIOException(request + " failed (" + exception.getClass().getSimpleName() + ")", exception));
        }
Exception wrapper that signals retries should be attempted.
http-client/src/main/java/ai/vespa/hosted/client/HttpClient.java