When connecting to newnet via localhost on tilde.club with tls set to
off, newnet will try to switch to tls using starttls. However, since
irssi is connecting using a hostname set in /etc/hosts (in this case,
"irc"), the presented certificate's CN doesn't match and irssi aborts.
Setting starttls to off forces irssi to connect via plain-text.
Before, the startup file tries connecting to the default network and
join two channels. However, since irssi just executes the startup file
line by line with little logic behind it, it tries joining the channels
while the user is still connecting.
Instead, this commit sets the channels to autojoin, which only triggers
once the user is connected and, if configured properly, authenticated.
Before, the name of the default network was set as "localhost",
"tildenet", "tilde.chat" and "irc". This chooses a more appropriate name
in both irssi's config and startup files: newnet