fix(tls): make sure to BIO_free_all
Merge pull request #570 from luvit/fixes/tls_memory_leak

fix(tls): make sure to BIO_free_all