Networking-aware IoT application development