Added functionality to remotely start, pause, resume and stop a thread.
From test client use following format: threadid(int);command(string)
Commands:
	- start
	-pause
	-resume
	-stop
Added ablity to stop the server with command 0;quit