To set up maximum concurrent connections for HttpSelfHostServer you need to tweak following properties:
- In HttpSelfHostConfiguration set MaxConcurrentRequests (this is not enough, continue reading)
 - System.Net.ServicePointManager.DefaultConnectionLimit
 - ThreadPool.SetMinThreads