void finishWithNegotiationFailure(
            ChannelHandlerContext ctx, SessionProtocol expected, SessionProtocol actual, String reason) {

        final ChannelPipeline pipeline = ctx.pipeline();
        pipeline.channel().eventLoop().execute(
                () -> pipeline.fireUserEventTriggered(
                        new SessionProtocolNegotiationException(
                                expected, actual, reason + " (channel: " + pipeline.channel() + ')')));
        ctx.close();
    }
Configures the specified {@link SslHandler} with common settings.
core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java