A model for the optimization of beacon message age-of-information in a VANET