Fixed failing curl test.

The curl error message comes from the curl library, so I changed the regexp to account for travis-ci's curl version ("Couldn't resolve proxy '537a520b69f43'") and my dev curl version 7.35.0 ("Could not resolve proxy: 537a85d077e1d").