Leveraging LD_PRELOAD for Network Behavior Analysis: A Guide for Penetration Testers and Application Developers