bugfix: the expiration record was never set in messages sent via send_to_peer()