Fixing mock irc server to handle tls connect correctly.