Rest client written in java to consume Alfresco RESTful services