allow to set the bufsize and the max number of connections at construction time

and lower the defaults to more reasonable values to keep the memory
fingerprint lower while still guarantee good performances

Users can decide which params to use depending on on the specific usage pattern
of their application