Prevent network errors from throwing uncatchable exception
Merge pull request #14 from rs/fix-req-error-handling

Prevent network errors from throwing uncatchable exception