Latency simulation (sloth) library written in C(loth)