TMSocketClient Implementation