Throw exception on unreachable host
Throw exception on misc cURL errors like unable to resolve host