Add limit to amount of allocated connections

This adds support for the -x option which limits the amount of space
allocated for connections on systems
with very high open file limits.

Signed-off-by: Lorenz Brun <lorenz@brun.one>
3 jobs for master in 25 minutes and 7 seconds
latest