WAMP RPC websocket example with threading, and rearranged again...