fix for #37 protocol-less URLs getting replaced

this should fix issue #37