draft CoAP generator for Java