added optional closure to get() and delete() methods in RESTClient

Having ran into an API that insisted on sending data in the GET request body, I modified the RESTClient.get() and delete() to take an optional content closure.  

This is a very minor change, with the default behavior remaining unchanged, but helps the library be more flexible for the future.