merged coap functionality into flow_clock