Use the correct scheme in URIs