libtls: Add getters for TLS handshake authentication details