private static Socket parseArgs(String[] args) {
		if (args != null && args.length == 2) {
			String host = args[0];
			int port = -1;
			try {
				port = Integer.parseInt(args[1]);
				if (port < 0 || port > 65535) {
					throw new NumberFormatException();
				}
			} catch (NumberFormatException ex) {
				System.out.format("%s ist kein gueltiger Port\n", args[1]);
				return null;
			}

			Socket sock = null;
			try {
				sock = new Socket(host, port);
			} catch (IOException e) {
				System.out
						.format("Verbindung zu %s:%d konnte nicht hergestellt werden\n",
								host, port);
			}
			return sock;
		}

		showHelp();
		return null;
	}