implement get_info rpc call in client