Minor tweaks to the error logging in the api helpers #82

* WordPress downcases the headers returned by API calls