Adds a hook for tests to disable the disconnection of additional connections from a flooding address.

The current tests are relying on implementation details, and wouldn't
pass if our anti-flooding logic were more aggressive, because we're
expecting responses to messages from the same IP which does the flooding.
This resolves that by ensuring that they won't also be disconnected.