Validate URL scheme before parsing