I\'m trying to perform a very simple HTTP POST with Node:
var querystring = require(\'querystring\');
var http = require(\'http\');
var postData = querystring.s
I see that you are are making a request to a secure server. You probably should be using the request method of the https object instead.
In fact, I was able to re-create the problem using the http object and when I simply used the https object I was able to get a response without the socket closing.