add delay parameter

allow to introduce artificial latency
Merge pull request #6 from benpicco/master

add delay parameter