SPF: An SDN-based middleware solution to mitigate the IoT information explosion