add setBaseUrl as a method to the Client object