Add more rules to check if network is available.
Add more rules to check if network is available.

gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo,gerald-yang/ubuntu-iotivity-demo