Integrating connected vehicles in Internet of Things ecosystems: Challenges and solutions