static public void main(String[] args){
        if( args.length < 1){
            System.err.println("Please specify a remote hostname");
            System.exit(-1);
        }
        if(args.length > 2) {
            System.err.println("Warning: Extra arguments passed, ignoring");
        }

        String host = args[0];
        int port = DEFAULT_PORT;

        if(args.length >= 2) {
            port = Integer.parseInt(args[1]);
        }
        
        System.out.println("Connecting to " + host);
        System.out.println("Using port " + port);
        new Client(host,port).start();
    }