Added localhost and ::1 to trusted sources

Not only 127.0.0.1 is save, but localhost and ::1 (IPv6) as well.