Fun with an iperf-like tool in Haskell