Add client API endpoints

The endpoints are /get/tags and /get/policies, for listing tags and policies
respectively.