private static int toIndex(SerializationFormat serializationFormat) {
        return toIndex(serializationFormat == SerializationFormat.WS);
    }
Determine {@link SslContext} by the specified {@link SessionProtocol}.
core/src/main/java/com/linecorp/armeria/client/Bootstraps.java