LCG: TLS example, including TLS callbacks