Verify the status of the internet connection and if an host is reachable.