make it work with recent tlslite version (0.4.6)