init commit

from http://developer.apple.com/library/ios/samplecode/Reachability/