[CoAP] Support both json in payload
[CoAP] Support parameterized string in payload
[CoAP] Strip any path info from parameterized string if given
[CoAP] device registration support added