Updated the RestClient so that it works with retrieving attachments