A multi-threaded server