Resource Discovery, Navigability and Trust Management Techniques for IoT and SIoT