With recent and planned enhancements to chan_websocket, the original plain-text implementation of control messages and events is now too limiting. We probably should have used JSON initially but better late than never. Going forward, enhancements that require control message or event changes will only be done to the JSON variants and although the plain-text variants remain the default, they are now deprecated and will be removed in the future.
We really need feedback!