follow curl redirects