Updated the MessageServer to be multi-threaded.