HttpUtilImpl fixes to retrieve the body even after a failure