Enhanced ThreadPool, support for min, max and limit
Socket::setTimeout now uses seconds as double