Multithread server - initial version