Add support for /v1/agent/check/... and /v1/agent/checks.