private static String http2uri(SessionProtocol protocol) {
        return "tbinary+" + protocol.uriText() + "://127.0.0.1:" + http2Port() + TSERVLET_PATH;
    }
{@link SessionProtocolNegotiationException} should be raised if a user specified H2C explicitly and the
client failed to upgrade.
thrift/thrift0.13/src/test/java/com/linecorp/armeria/client/thrift/ThriftOverHttpClientTServletIntegrationTest.java