Modify apt transport to HTTPS

Closes #565