Curl connection error reporting