fix issue #38

Fix issue #38 rpc_server should return bool value to reflect whether it is success