System.out.println(client + ": connected");
Log.log(Log.MESSAGE,this,client + ": connected");
	public void run()	{		try		{			for(;;)			{				Socket client = socket.accept();				System.out.println(client + ": connected");				BufferedReader in = new BufferedReader(					new InputStreamReader(client.getInputStream()));				try				{					int key = Integer.parseInt(in.readLine());					if(key != authKey)					{						System.err.println(client + ": wrong"							+ " authorization key");						in.close();						client.close();						continue;					}				}				catch(Exception e)				{					System.err.println(client + ": invalid"							+ " authorization key");					in.close();					client.close();					continue;				}				System.out.println(client + ": authenticated successfully");				handleClient(client,in);				client.close();			}		}		catch(IOException io)		{			System.err.println("Error with server:");			io.printStackTrace();		}	}