Changed internet connectivity check to use the download agent.
The reason for the change is that ICMP traffic may be blocked, but there is internet connectivity. (ie a package can still be downloaded)