Optimized PT-TLS data transfer