Add ssl tracing

Based on t1_trce.c from the openssl source code