[lib] deserialize saved query into query controls, hoist websocket auth check to happen immediately at connection time
[lib] better handling on realtime data
[lib] more improved handling on realtime data