#110 asyncServer.hs: use TChan in reading and writing