added support for schemeless urls