Demo2: update the code, working rpc-based design
Demo: fix the client's sleep timeout (set to 1000 ms)
FFI: replace memcpy with more suitable memmove