Avoid ArgumentException in Misc ParseUrl method

This has been reported and although I could not
reproduce this should fix the problem...