@Igor just found out the source of my problems. It's the on-board network.   I just added a cheap USB 3 to Ethernet adaptor and I'm able to download files without issues at all. Maybe there is some strange bug with the driver for the built in network? However I don't get why it only manifests itself on HTTPS, other protocols such as SSH work just fine.   Thank you all.   ----------------   Update: I manage to find out that this issues are caused by TCP off