bug 1073747 - nsurlparser xpcom methods don't validate input r=sworkman