cURL error 7: couldn't connect to host (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)