socket stream buffer updates
CppUnit unit test structure
code cleanup