IoT backend connectivity best practices