Handle common network errors gracefully
Merge pull request #2 from tocsin/handle_network_errors

Handle common network errors gracefully