Add support for rejectUnauthorized in HTTP in config.