This patch pulls the proxy's error limiting code into an ErrorLimiter class that can be used to provide error limiting. Co-Authored-By: Matthew Oliver <matt@oliver.net.au> Change-Id: Ie15d831278a55ffab156ddce04544317e451407d