Fix IrcConnection::saveState() to save the network name when resolved