Edge Computing and Social Internet of Things for large-scale smart environments development