Improved framework rate limiting by imposing the max number of outstanding messages per framework principal.

Review: https://reviews.apache.org/r/24343