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)
Merge pull request #110 from dandare100/master

Changed internet connectivity check to use the download agent.