Implements 'get' and 'put' rpc operations.