Handle lack of internet connection properly

Requires an additional permission.
Bump version to 2.0