haxe cross platform web server code