* @throws IOException
	 */
	public static void sendHttpGet(String url) throws IOException {
		 Socket s = new Socket("localhost", 8080);

        OutputStream out = s.getOutputStream();
        PrintWriter outw = new PrintWriter(out, false);
        outw.print("GET " + url + " HTTP/1.0\r\n");
        outw.print("Accept: text/plain, text/html, text/*\r\n");
        outw.print("\r\n");
        outw.flush();		
        InputStream in = s.getInputStream();
        InputStreamReader inr = new InputStreamReader(in);
        BufferedReader br = new BufferedReader(inr);
        String line;
        while ((line = br.readLine()) != null) 
        {
                System.out.println(line);
        }
        
        s.close();
	}