Throw ServiceUnavailable for HTTP 504s as well as HTTP 503s
Catching invalid XML responses and returning a helpful error
Merge pull request #176 from harvesthq/invalid_xml_responses

Invalid xml responses