proto to haxe