started implementation for TCP clients