add SelectorManager on thread, an complet Socket class