made TLS a config option. fixed delayed nickserv auth bug