New function, sslcert.parse_ssl_certificate

For reasons, the function is exported from nse_ssl_cert.cc into
nmap.socket, then included and documented in sslcert.lua because it fits
better there.
Add server certificate message parsing to tls.lua