The solution was simple: Tell HAProxy to tag Websocket traffic, and set up a
separate but otherwise identical backend for this specific use case.
One of typical applications which is using Websocket traffic is Slack
[https://slack.com/]. An excelent opensource alternative of it named Mattermost
[https://mattermost.com]. The