Add support for authentication_failure_close, connection.blocked
Prevent #436 by iterating the keys and not the dict