[Issue #970] Refactoring network reachability to be more conventional (/thanks @djmadcat)