Security and privacy in IoT communication