Virtual replication of IoT hubs in the cloud: A flexible approach to smart object management