pubnub/pubnub-api — comment on commit 54ac8756577ac7d71c7e1d0adc4031e141bb7339
File: nodejs/pubnub.js line 116
By tristanls:

In reference to #70

I hacked it locally to something like below and it now delivers messages when `ssl` is `true`.

try {
var _http = ssl ? require( 'https' ) : http;
_http.get({