Update Client/Source/cli_tcp.cpp

update from frank on client side.