Towards Intelligent Data Protocols for the Edge