Python TLS Connection Reset By Peer

You should be using tcps:// as the protocol, I believe.