IMplementation of Token Bucket traffic shapper