Migrated ReachabilitySample to unified API