Added limiting of max client connections.
Added maxClients test.
Merge pull request #60 from garbetjie/master

Added limiting of max client connections.