Support standard URI classes in heuristically_parse