private Bootstrap newBootstrap(Bootstrap baseBootstrap, SocketAddress remoteAddress,
                                   SessionProtocol desiredProtocol,
                                   SerializationFormat serializationFormat) {
        final boolean webSocket = serializationFormat == SerializationFormat.WS;
        final SslContext sslContext = newSslContext(remoteAddress, desiredProtocol);
        return newBootstrap(baseBootstrap, desiredProtocol, sslContext, webSocket, true);
    }
Returns a {@link Bootstrap} corresponding to the specified {@link SocketAddress}
{@link SessionProtocol} and {@link SerializationFormat}.
core/src/main/java/com/linecorp/armeria/client/Bootstraps.java