links to HTTPS, patch courtesy of Alexander Milanov