No need to dispatch block since we're already on the main queue.
Fix for incorrect behavior when using a nil hostname or reachabilityToLocalNetwork.

It turns out that manually calling SCNetworkReachabilityGetFlags() is actually necessary, but only if you create a reachability ref using SCNetworkReachabilityCreateWithAddress(). In this case, you must manually kick it with SCNetworkReachabilityGetFlags() or it will never report any reachability changes.

If, however, you create the reachability ref with SCNetworkReachabilityCreateWithName(), you must NOT call SCNetworkReachabilityGetFlags() or else it will initially report the wrong flag values, and possibly stop reporting entirely.
Crash bug fix.

Setting self.onInitialiationComplete was triggering an endless loop that would eventually corrupt memory after about 10-15 minutes.