improved HTTP error handling, expanded HTTP unit tests, found possible problem with request.