move NetworkThread::Add/RemoveSocket() calls from Socket to NetworkManager class
small refactoring