use my own modified version of node-rest-client lib so that I can access the underlying buffer