Adds a max_connections option to the ejabberd_cowboy listener.

Adds a max_connections option to the ejabberd_cowboy listener.