Fix Apple Reachability sample
Detect online state faster using Apple sample code (osx)