[CoAP] Extend query and params with the same values

[CoAP] Extend query and params with the same values