Edge-based Collision Avoidance for Vehicles and Vulnerable Users