Crawl.getBase() fixed to work with both http and https