Bug Fix
- Socket event listeners (
lookup
,connect
,secureConnect
) are now attached withonce
and explicitly removed on requestfinish
. This fixes listeners from sticking around on sockets that end up being reused (for example, with agentkeepalive’s socket pooling.