Communicate with Lua thread via websocket
Fix websocket.broadcast()
Check if notify is called on same thread as Lua runs

Not just main thread. Also this is portable. We will use pthread-win32 as well so…