Check for internet connection
Merge pull request #444 from blackberry/next-443

Check for internet connection