Fix https by using https.request instead of .get
Remove unnecessary dependencies