Fix SSL connection issue

via blindguyinanorgy/pynest