Communication Protocols For IoT Devices And The Advantages Of IPv6