A wrapper class for automatically handling HTTP redirects.