XMPP TLS server: improve error message of function to check fingerprint