pub fn serve_agent() -> Result<(), Error>
Runs the platform content-key agent in the current process.
The function blocks while serving requests and returns when the platform transport exits or fails.