created TCPSender class
fixes to class, not tested yet