coap is to construct message