added link metric in CoAP resource for rpl