Begin an implementation of a server communication's thread / Add an exitGame function to free everything before exiting / Synchonization of the server's sends with a mutex.