How to set the “Sec-WebSocket-Protocol” header in Phoenix?

Do I understand correctly that Phoenix will not allow usage of the Sec-WebSocket-Protocol header as an authentication header? I’m just discovering that this is a common thing to do, but I cannot see a way to do it with Phoenix. This was possible before I ported our code away from Cowboy.

e.g., Mastodon does this