Changed CoAP and HTTP URLs from topics to resources.