EMFILE fixed for logger.js + improvements on http.js to accept https options