This adds an optional local connection limit toListenConnections().
Previously, ListenConnections() would accept incoming connections indefinitely. This branch adds an optional max_connections parameter so a listener can stop accepting new connections once a per-listener cap is reached, and resume accepting when an existing connection disconnects.
The limit is local to the listener instead of global to the EventLoop. This keeps the state and behavior scoped to the listening socket, and is closer to the direction discussed downstream for per--ipcbind limits.
This also adds a test covering the behavior with max_connections=1, verifying that:
- the first client is accepted normally
- a second client is not accepted while the first remains connected
- the second client is accepted after the first disconnects
This is a draft follow-up to the IPC FD reservation work