working remote multi-threaded server