correct argument usage for memset() in wget_agent. Fixes bug #7917

Corrected the 4 memset() instances in wget_agent that make was flagging. Ran make and confirmed no more error messages. Ran wget_agent from command line and confirmed correct operation.