Replaces ping with curl for environments with proxy. Bug #126