kmsutils: Utility to control the number of keyframe requests that are sent

Change-Id: Ic421cf87eb98fdd3afdc11efbd28797dfd5cafc1