Functorise RandomFlow over CLOCK, so we can rate-limit

Signed-off-by: David Scott <dave.scott@eu.citrix.com>