Using request module instead of basic http / https modules to better handle proxies and redirects.