espra/rpc: implement http caching and utility datastore functions.