[PodspecSource] Rescue HTTPError exceptions and handle them

This is might suggestion for how to handle this. I am not sure about what the correct exit procedure is, but this does the job. Please correct me if there is a specific way to do it


Closes: https://github.com/CocoaPods/CocoaPods/issues/2823