allow user configuration of RestClient's max_redirects
307 redirects return with /REST/ in the path. get() doesn't expect that.