private MITMAdminClient( String [] args ) {
	int remotePort = 8002;
	String remoteHost = "localhost";
		
	if( args.length < 3 )
	    throw printUsage();
	
	try {
	    for (int i=0; i<args.length; i++)
	    {
		if (args[i].equals("-remoteHost")) {
		    remoteHost = args[++i];
		} else if (args[i].equals("-remotePort")) {
		    remotePort = Integer.parseInt(args[++i]);
		} else if (args[i].equals("-password")) {
		    password = args[++i];
		} else if (args[i].equals("-cmd")) {
		    command = args[++i];
		    if( command.equals("enable") || command.equals("disable") ) {
			commonName = args[++i];
		    }
		} else {
		    throw printUsage();
		}
	    }

	    SSLContext sslContext = SSLContext.getInstance( "SSL" );

	    sslContext.init(
    		new javax.net.ssl.KeyManager[] {}
    		, new TrustManager[] { new TrustEveryone() }
    		, null
    		);

	    m_remoteSocket = (SSLSocket) sslContext.getSocketFactory().createSocket( remoteHost, remotePort );
	}
	catch (Exception e) {
	    throw printUsage();
	}

    }