Statistical flow classification for the IoT