curl should follow HTTP redirects