Improve older haxe support and update NetStream