telnetd: filter potentially dangerous env vars passed from telnet client