code: private ExtendedManagementProtocol getJMConnection() throws IOException {
  		String jmHost = config.getString(ConfigConstants.JOB_MANAGER_IPC_ADDRESS_KEY, null);
  		String jmPort = config.getString(ConfigConstants.JOB_MANAGER_IPC_PORT_KEY, null);
  		
  		return RPC.getProxy(ExtendedManagementProtocol.class,
  				new InetSocketAddress(jmHost, Integer.parseInt(jmPort)), NetUtils.getSocketFactory());
  	}
docs: Sets up a connection to the JobManager.
  
  @return Connection to the JobManager.
  @throws IOException