hilariously, Net::HTTP has 298357928357 kinds of 'error' classes and returns some but raises others.

Thanks for this fix.