enclose socket with namespcae TUPO
modify to fit the add of namespace