Example of iOS communication patterns using Reachability