I forgot about this when implementing, I suppose there was simply too many moving parts.
We need ALPN support on the proxied connection, and we should probably deprecate the protocol option in favor of a protocols similar to what we have for normal connections.
I have pushed a fix. I think I will make a 1.3.0 release based on this + documenting some of the experimental interfaces Gun already has like content/ws handlers.
I forgot about this when implementing, I suppose there was simply too many moving parts.
We need ALPN support on the proxied connection, and we should probably deprecate the
protocol
option in favor of aprotocols
similar to what we have for normal connections.