Support capturing SSL payload

Also, remove C++ code and convert to C. Remove support
of capturing keying data. Hardcode some struct definitions.

Tested with wget (GnuTLS), curl (OpenSSL), tstclnt (NSS),
Firefox (linked NSS), and Chromium (internal NSS).