partially refactored SocketLink.*TcpServer