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