added --lua-load, fixed lua rpc memory leak