allow client url to be specified at instantiation