Prevent resposne from being parsed twice for every request
use the Nokogiri XML parser since we always know the respons is XML. Saves sniffing the response to check for HTML content
Add error response logging for badrequest
Add specific tests for http status codes and add debug logging for the response message