A streaming algorithm and hardware accelerator to estimate the empirical entropy of network flows uri icon