updated example code and changed keys --> key
Merge pull request #190 from spark/updated_TCPClient_example_code

updated example code and changed keys --> key