Getting rid of nsIResProtocolHandler