Merge "Break out RestClient error checking."