fix tcp_proxy deadlock: send CLOSE on TUN FIN + full proxy diagnostics
- proxy_recv_cb(p=NULL): now calls transport->close() to signal exit side
- Add PROXY FIN/CLOSE/CONNECTED/DATA/FEED/TCP_IN/TCP_OUT logs
- Add RP RECV/SEND/CLOSE logs on exit side
- Fix queue_dgram_free/queue_entry_free ordering (UAF) in all proxy files
- Change TRAFFIC logs from ERROR to INFO level
- Add 2 extra 1MB tests in run_test.sh to verify no post-stress stall
- stress_client.py: add --verbose per-thread timing (connect/send/recv ms)
- mem.c: zero freed memory for early UAF detection
DEBUG_INFO(DEBUG_CATEGORY_SOCKET,"TCP proxy: TUN FIN received, stream=%s active=%d",
DEBUG_INFO(DEBUG_CATEGORY_SOCKET,"PROXY FIN stream=%016llx tun=1 active=%d",(unsignedlonglong)(pc->remote_stream_id?pc->remote_stream_id:0),pc->active);
pc->active?"active":"passive",pc->active);
pc->closing_tun=1;
pc->closing_tun=1;
if(pc->closing_rem){
DEBUG_INFO(DEBUG_CATEGORY_SOCKET,"PROXY CLOSE stream=%016llx tun=1 rem=1 (recv)",(unsignedlonglong)pc->remote_stream_id);