@christianv , which exception gets thrown from Socket appears to be OS dependent. Safer to include all three options, I guess.

Some despairing devs have even resorted to catching StandardError:
http://stackoverflow.com/questions/5370697/whats-the-best-way-to-handle-exceptions-from-nethttp