Real time websocket stuff for Frequency.io