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
Status Job ID Name Coverage
  Build
passed #2691
build-gnutls-mit

00:24:57

passed #2689
build-no-threads-no-slapd

00:02:31

passed #2690
build-openssl-heimdal

00:25:07