pyOpenSSL: Fix WantWrite issue #412