Cant connect to IRC with python?

PROTOCOL_TLS_SERVER suggests some sort of SSL issues.

Could be the time on your computer is wrong or could be any number of things preventing SSL working corrected for your instal