Simple multi-threaded server.