fix meter burst bucket drain speed (kilobits)
prevent wrap-around for rate limiter
fix gcc warnings with -Wall -Wextra