Validate TLS certificate of IRC server.

Fix #156