Fixed protocol stripping, since gsub! returns nil if no change