local type = use "type"
local pairs = use "pairs"
local ipairs = use "ipairs"
+local tonumber = use "tonumber"
local tostring = use "tostring"
local collectgarbage = use "collectgarbage"
local idfalse
local addtimer
local closeall
+local addsocket
local addserver
local getserver
local wrapserver
local _maxclientsperserver
+local _maxsslhandshake
+
----------------------------------// DEFINITION //--
_server = { } -- key = port, value = table; list of listening servers
_sendtraffic = 0 -- some stats
_readtraffic = 0
-_selecttimeout = 1 -- timeout of socket.select
+_selecttimeout = 3600 -- timeout of socket.select
_sleeptime = 0 -- time to wait at the end of every loop
_maxsendlen = 51000 * 1024 -- max len of send buffer