Fix ws connections for haproxy

[merge]