Follow redirects with curl