//Method: POST; - Parametes: cmd=[renew|nonce|check]; - cmd=renew: secret; return [result]; - cmd=nonce: uid; return {sid,nonce}; - cmd=check: sid, checksum=ed25519(sid+nonce); return [result];