added tcp version of test-launch (experimental)