Fix for issue #9

the problem is that the protocol header is not included in the
loadedschemas but in the tmpUrl. stripping the header then it works fine