An example of how to make a server with a thread pool (manually not with Executors) In JAVA using TCP Sockets