private Bootstrap newBootstrap(Bootstrap baseBootstrap, SessionProtocol desiredProtocol,
                                   SslContext sslContext, boolean webSocket, boolean closeSslContext) {
        final Bootstrap bootstrap = baseBootstrap.clone();
        bootstrap.handler(clientChannelInitializer(desiredProtocol, sslContext, webSocket, closeSslContext));
        return bootstrap;
    }
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