Go-ipfs websocket

Hi,

I have configured go-ipfs to use websocket on port 8081 and traefik to make reverse proxy to it with SSL.

I also set Swarm to use websocket in ipfs config:

 "Swarm": [
      "/ip4/0.0.0.0/tcp/4001",
      "/ip4/0.0.0.0/tcp/8081/ws"
    ]

When I now test websockets connection is closing immediately.

I forgot set something ?

Version is from docker latest
Server is running on direct port binding: ws://ipfs.krk.ftdl.pl:8081/p2p/12D3KooWJJreApXPG9yPS1m92ZoR2Nv6RjyTCxLodJQ8yzLeuAb2
or via traefik with ssl:
wss://ipfs.krk.ftdl.pl/p2p/12D3KooWJJreApXPG9yPS1m92ZoR2Nv6RjyTCxLodJQ8yzLeuAb2

Thanks in advanced!