Add a config option to limit max connections, closes #16.