Add support for application controlled packet length randomization.