some code refactoring and added simpleechoclient_tester.py
some code refactoring and added simpleechoclient_tester.py