private static HttpClientCodec newHttp1Codec(
            int defaultMaxInitialLineLength, int defaultMaxHeaderSize, int defaultMaxChunkSize) {
        return new HttpClientCodec(defaultMaxInitialLineLength, defaultMaxHeaderSize, defaultMaxChunkSize);
    }
A handler that closes an HTTP/2 connection when the server responds with an HTTP/1 response, so that
HTTP/1 is used instead of HTTP/2 on next connection attempt.
core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java