Checked to make sure https global agent exists