RPC Server/Client Framework in Haxe