def sanitize(s) # :nodoc:
      if s =~ /^PASS /i
        return s[0, 5] + "*" * (s.length - 5)
      else
        return s
      end
    end
If string +s+ includes the PASS command (password), then the contents of
the password are cleaned from the string using "*"