Dont pass max_redirects on to curl options
Merge branch 'feature-location-after-redirect' into patch