stats show total sessions
thread safe total sessions counter
server manages logging
handle EOF