Add socketManager::createSocket().