public static void main(String[] args) throws IOException, ParserConfigurationException, SAXException, InterruptedException {
        RouletteClient client = new RouletteClient("Mr. Gambler", "OLOLO000Hx");
        client.connect(null, null);
        client.register();
        System.out.println(client.getId());
        client.disconnect();
        
        for (int i = 0; i < 100; i++) {
            client.connect(null, null);
            client.bet("ColourBet", 23, 10);
            client.disconnect();
            Thread.sleep(5000);
        }
        
        
        
        
                

        
        

        

        // Register
        //innerPart = "<client command=\"register\"> <user name=\"Some_username_here\"/> <password value=\"password\" />"; 

  // Bet
        //innerPart = "<client user_id=\"4222517c-434f-4652-8aaf-8a7aab60e00d\" password=\"password\" command=\"bet\"><bet type=\"StrightBet\" value=\"23\" coins=\"10\" />" ;
  
  
  
        // Spin
        // innerPart =
        // "<client user_id=\"f4fbccca-112a-4b27-ab7b-74caef004d79\" name=\"Some_username_here\" password=\"password\" command=\"spin\" >";

        //
        //
        // out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
        // "        <client session=\"V0ja3a2B7ZtklPqb\" password=\"password\" command=\"bet\">"
        // +
        // "        <bet type=\"number\" number=\"42\" coins=\"42\"/>" +
        // "        </client>");

        //String theRequest = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + innerPart + "</client>";
        //System.out.println(theRequest);
        //out.write(theRequest);

        //out.close();
        //BufferedReader in = new BufferedReader(new InputStreamReader(httpCon.getInputStream()));
        //String inputLine;
        //while ((inputLine = in.readLine()) != null)
            //System.out.println(inputLine);
        //in.close();

    }