made the echoserver threaded