re-enable TLS functionality with revised patch issued by author.
State Changed From-To: open->closed committed, thanks