Local network services for IoT devices