Transport Layer Security framework