Improved TLSConfig API

@momer @denibertovic @johncosta Does this look like an improvement to you? Would you be satisfied if we released with this API? What would you change? Any feedback is appreciated =)