#45 refactoring tlssv.hs: separate bind and rest