static String toProtocolString(byte[] bytes) {
        if (bytes == null) {
            return null;
        }
        return new String(bytes, US_ASCII);
    }
Wraps the given exception if it's not already a {@link SSLException}.
common/src/main/java/org/conscrypt/SSLUtils.java