Fixed URIs in directory listings when using TLS