Changed the way TCPSender sends messages to TCPListener.