Client for the activiti rest api