Make client take a retry object rather than params for one
warn about old-style retry params for eventual removal