pull out handlers from tcplistener server