adding testing & helper methods to HttpClientWebException