Added support for CURLOPT_POSTREDIR

This is PR implements CURLOPT_POSTREDIR.

This was reported in issue #1477.

This reduces the number of failing unittests for [sabredav][1] by 2 :)

[1]: https://github.com/fruux/sabre-dav