moved online check from ping to curl

More realistiv to check the connect with the protocol that will be used during the repo connect.
Merge branch 'master' of github.com:geco2/helper