switch to requests for proper https handling