New creates a new http.Handler that returns snapshots for the given agent at
the root path. The snapshot generated is also accompanied by the agents
config that was used to create the agent at the time it was created. Secrets
keys in the config are transformed into public keys.