Text this: A Distance-Aware Safety-Related Message Broadcasting Algorithm for Vehicular Networks