On the Optimization and Comparative Evaluation of a Reliable and Efficient Caching-Based WSN Transport Protocol