This change introduces a rate limiting for peer's IP and ID. It allows for 10 messages per second from a single IP and 3 messages per second from a single peer ID. It does not enforce this policy though, it only collects stats for now.