On the Performance of Caching and Forwarding in Information-Centric Networking for the IoT