Fixed getLastResponseDecoded
Improved RestClient exceptions and tests