Restrict rescue statement to RestClient::Exception

Exception#http_code and Exception#http_body are only provided by
RestClient::Exception, so restrict the rescue statement to those
types of exceptions.