S-IoT, Giving a Social Structure to the Internet of Things