Runs a cURL check to make sure the supplied URL is valid