PLAT-649: added a tcp client class