I think this should be an example of how to do thread pools

The method `withThreadPool` should be promoted to the ServerBuilder trait.