Singleton-based persistent multithreaded TCP server.