Pass rejectUnauthorized option to Node http.request
Whitespace fixes: Mixed tabs and spaces to all tabs; Remove trailing whitespace