dest=new IpAddress("228.1.2.3", 5555);
dest.setAdditionalData("foo".getBytes());
src=new IpAddress("127.0.0.1", 6666);
src.setAdditionalData("foobar".getBytes());
Message msg=new Message(dest, src, "Hello world".getBytes());
PingHeader hdr=new PingHeader(PingHeader.GET_MBRS_REQ, new PingRsp(src, src, false));
msg.putHeader("ping-header", hdr);
UdpHeader udp_hdr=new UdpHeader("bla");
msg.putHeader("udp-header", udp_hdr);
stream(msg);
}