Fixes #319 redirects from http to https are not followed.

Fixes #367 Serving ontologies from github as well.