adding children only when you need to add
update
add statistics for request
detect if the new socket is a worker