code: public static String createGETHeader(String path,
  					 String host,
  					 String user_agent) {
  
  	StringBuffer head = new StringBuffer();
  	head.append("GET " + path + " " + HTTP_VERSION + CRLF);
  	head.append(HOST + host + CRLF);
  	head.append(CONNECTION_CLOSE);
  	head.append(USER_AGENT + user_agent + CRLF);
  	head.append(CRLF);
  
  	return head.toString();
      }
docs: /* Used for GASS GET