public static Channel getMainChannel(Channel channel) {
        if (channel instanceof Http2StreamChannel) {
            return channel.parent();
        }
        return channel;
    }
If http/1 then will always want to just use ChannelHandlerContext.channel(), but for http/2
will want the parent channel (as the child channel is different for each h2 stream).
zuul-core/src/main/java/com/netflix/zuul/util/HttpUtils.java