Added support for CURLOPT_POSTREDIR