#45 refactoring tlssv.hs: use intermediate TChan