code: protected static String createHTTPHeader(String service,
  					     String hostname,
  					     String application,
  					     StringBuffer msg) {
  
  	StringBuffer head = new StringBuffer();
  	head.append("POST ").append(service).append(" ").append(HTTP_VERSION).append(CRLF);
  	head.append(HOST).append(hostname).append(CRLF);
  	head.append(CONTENT_TYPE).append(application).append(CRLF);
  	head.append(CONTENT_LENGTH).append(String.valueOf(msg.length())).append(CRLF);
  	head.append(CRLF);
  	head.append(msg);
  
  	return head.toString();
      }
docs: /* Used for GRAM and GARA messages