Update default url of client

problem when not specifying the URL when calling factory function
Merge pull request #3 from theodoreb/patch-1

Update default url of client