Fix bad ref test for proxy support

If you run behind a proxy, you won't get a socket error, you'll get an
OpenURI::HTTPError instead (because the proxy will return a 503).  That's
perfectly acceptable, too.