Added support for multi threading on the server allowing it to accept more then one client.