Follow HTTP redirects in R client