WIP
WIP
Cross-thread-communication

I just notify the main-thread websocket socket with a magic-number.  A hack, but now I can progress.
WIP
WIP
WIP
WIP
WIP
Fix WS code for null protocols
WIP
WIP
More protocol null fixes
WIP