Make MutexQueue use jsemaphore for signaling
Add mutex to make SharedBuffer thread safe
Fix minetest reliable udp implementation (compatible to old clients)