Fully support tcp protocol and tests to prove it