add setBlock2 in CoAPResponse