Attempt to listen on the given relay connection.
Remove listen relay.
Try to listen on available hop relay connections. The following order will happen while we do not have enough relays.
Peer disconnects.
connection to the peer
Check if a peer supports the relay protocol. If the protocol is not supported, check if it was supported before and remove it as a listen relay. If the protocol is supported, check if the peer supports HOP and add it as a listener if inside the threshold.
{import('../')} libp2p
{number} [maxListeners = 1] - maximum number of relays to listen.