During verify, show HTTP headers, and during errors show HTTP response

Call curl twice, once to get full HTTP output including headers and again
to throw an error if an HTTP error occurs.
Merge pull request #567 from MalcolmEvershed/curl-args

During verify, show HTTP headers, and during errors show HTTP response