TCP client server code with Echo service example.