node-modules/agentkeepalive — pull request #11 by retool (2014-10-16 01:53:12+00:00)
Title: not identifying destroyed state on sockets when SSL  - node 0.10.32

When using SSL sockets the CryptoStream sets ._destroyed (as compared to .destroyed for non ssl sockets). In order to properly handle destroyed sockets we need to check for socket.destroyed || socket._destroyed

https://github.com/joyent/node/blob/v0.10.32/lib/tls.js#L674-695