Correctly detect Network errors.

We should clearly tell user what went wrong.

Fixes #64

Signed-off-by: Michal Čihař <michal@cihar.com>
Add missing docs for exceptions

Signed-off-by: Michal Čihař <michal@cihar.com>