Addressing the C10k problem with thread per client solution. To use: ulimit -n must be  set to more than 10,000