I fixed problem. The code is correct, a previous programmer tried to use 'headers' property in our code, without checking. This property comes from _checkHttpError, I did not notice at those moment that error comes from our code.
https://github.com/DoctorMcKay/node-steamcommunity/blob/master/components/http.js at line 94 "if (response.statusCode >= 300 && response.statusCode <= 399 && response.headers.location.indexOf('/login') != -1) {"
In my program I got fatal error "Uncaught Exception TypeError: Cannot read property 'headers' of undefined at SteamCommunity._checkHttpError"
I believe this problem associated with socket hang up error