Improved test, changed to use ThreadPool, added ability to specify IP address + port in the client