TLS: Avoid unnecessary copying of encrypted data at record layer