initial commit TCP test code