Introducing a delay and dropping messages with some user specified probability