use NewTCPServer instead of InitServer