stripped version f CoapBlip example