Update pyopenssl.py

Fixes annoying 'Unexpected EOF' and 'ECONNRESET' errors.