Multi-Factor Rear-End Collision Avoidance in Connected Autonomous Vehicles