Add CURLOPT_FOLLOWLOCATION in order to allow redirects, get HTTP status code in a different way