Cherry pick upstream patches
This release cherry-picks three upstream patches:
- KAFKA-7165: Retry the BrokerInfo registration into ZooKeeper (This is a workaround for ZOOKEEPER-2985)
- KAFKA-7288: Fix for SslSelectorTest.testCloseConnectionInClosingState
- KAFKA-7288 - Make sure no bytes buffered when relying on idle timeout in channel close test