handle coap streaming