The internet of things : key applications and protocols