char *silc_key_agreement_get_hostname(SilcKeyAgreementPayload payload);
Returns the hostname in the payload. Caller must not free it. The hostname is the host that is able to accept key negotiation using the SILC Key Exchange protocol.