private static int http2Port() {
        return ((NetworkConnector) http2server.getConnectors()[0]).getLocalPort();
    }
{@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