add delay parameter

This allows to specify a delay (in ms) for each link, to add artificial latency on some connections.