IoT Technologies for Connected and Automated Driving Applications