Lua RPC server and client