public static void main(String[] args) {
		if (args == null || args.length != 2) {
			System.err.println("Syntax error, write: <keyName> <PublicKeyPath>");
			System.exit(1);
		}
		RSAPublicKey key = null;
		try {
			if ((key = (RSAPublicKey) CryptoDevice.readPublicKeyFromFile(args[1])) == null) {
				System.exit(1);
			}
		} catch (IOException e) {
			System.err.format(e.getMessage());
			System.exit(1);
		}
		Client client = new Client(50000, "ChatClient", args[0], key);
		client.start();
	}