Changes to make it work behind our proxy

- Changed the url scheme because I would get an "400 The plain HTTP request was sent to HTTPS port" behind our proxy. I don't really checked if this could affect someone with direct internet access.
- Added a User Agent to the download function because our proxy blocks the requests without user agent header