This is an attempt to recreate the ThreadServer class (neko.net.ThreadServer) from the Haxe library in pure Haxe code.