@Override
    public int available() throws IOException {
        try {
            return in.available();
        } catch (final IOException ex) {
            wire.input("[available] I/O error: " + ex.getMessage());
            throw ex;
        }
    }
Delegates {@link InputStream} calls and logs to a {@link Wire}.
httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/LoggingInputStream.java