Delegate tls_t.get_{peer,server}_id to handshake layer