Add ssl tracing

Based on t1_trce.c from the openssl source code
Merge pull request #1 from bmiklautz/test/ssl_trace

Add ssl tracing