--backlog set the backlog on the listener socket
--minThreads set the minimum number of threads allocated in the threadpool on startup
Change the behavior of ApplicationServer.OnAccept so that
- it exits the process if a subsequent AcceptAsync fails. The process is useless if we cant accept new sockets. Its better to fail fast and have apache spawn a new instance than just hang.
- if an error occurs on accept close socket immediately without lingering.
Also the listener socket is now non-blocking.