core: if the connection is on SSL, then generate https absolute urls.