Update: WIP version of web-sockets - not yet finished or working.