polished the new serving subsystem implementation (fully async i/o)

fixed also some leaks reported by valgrind