Changed to threading, added linesep to fake server response string