Port observe pattern from CoAP to HTTP