protected static void manageInputCommandForServer(ServerInfo serverInfo) {
		BufferedReader commandReader = new BufferedReader(new InputStreamReader(System.in));
		log.info("CREATE BufferedReader");
		
		Thread chatServerThread = null;
		String commandLine = null;
		// manage server commands
		while (true) {
			System.out.print("command: ");
			commandLine = readInputCommadForServer(commandReader);
			if (commandLine.startsWith(ServerCommand.START.getName())) {
				chatServerThread = startChatServer(chatServerThread, serverInfo);
			} else if (commandLine.startsWith(ServerCommand.EXIT.getName())) {
				if (chatServerThread != null)
					stopChatServer(chatServerThread);
				log.info("Break command loop");
				break;
			} else {// TODO stop, change port ... command 
				log.info("unsupported, incorrect or not well formed command: " + commandLine);
				System.out.println("unsupported, incorrect or not well formed command");				
			}
		}
	}