Add SetClient function
Merge pull request #1 from czertbytes/set-client

Add SetClient function