updating client sample
Merge pull request #3 from financeCoding/fix_up_client_sample

updating client sample
Fix the server sample
Merge pull request #4 from financeCoding/fix_up_server_sample

Fix the server sample