fail somewhat more gracefully when offline
Merge pull request #7 from mockdeep/socket_error

fail somewhat more gracefully when offline