chadsmith/node-phaxio — pull request #6 by bojand (2013-04-03 13:03:32+00:00)
Title: Revisting the hangup issue

So we were getting the socket hangup issue again. Turns out it wasn't the request version and the socket hangup related to node 0.8.20 like I had previously thought. After digging deeper, I believe it is related to the way node does agent pooling for http(s). Some more info:

https://github.com/substack/hyperquest
mikeal/request#465
mikeal/request#259
mikeal/request#467

Seems the issue will be addressed in 0.12. This seems like a more proper fix for phaxio until then.