add tserversocket class