private static String defaultAuthority(ChannelHandlerContext ctx, ServerConfig cfg) {
        // The client violates the spec that the request headers must contain a Host header.
        // But we just add Host header to allow the request.
        // https://datatracker.ietf.org/doc/html/rfc7230#section-5.4
        final String defaultHostname = cfg.defaultVirtualHost().defaultHostname();
        final SocketAddress localAddr = ctx.channel().localAddress();
        if (localAddr instanceof InetSocketAddress) {
            return defaultHostname + ':' + ((InetSocketAddress) localAddr).getPort();
        } else {
            assert localAddr instanceof DomainSocketAddress : localAddr;
            return defaultHostname;
        }
    }
Converts the specified Netty HTTP/2 into Armeria HTTP/2 {@link RequestHeaders}.
core/src/main/java/com/linecorp/armeria/internal/common/ArmeriaHttpUtil.java