WS protocol rework.