move workthread from tcpserver.cpp to session.cpp
remove workthread from this file
add a linkedlist class
change to a non-template version
add onIdle
test onIdle