Bug 941763 - Invalid url detection Patch

Ran it through gjslint --nojsdoc and make lint APP=sms, still have not fixed make hint, let me know if all is good