Switched order of callback arguments from (error, data, response) to be (error, response, data) take make it conform to the way callbacks work in the popular node-request module
Removed dreprecated method: getProtectedResource