Updated SCNetworkReachability with OS X support, blocks and thread
safety