Revert "io.sockets.secure.openssl: undo some error handling that makes factorcode hang"
Revert "io.sockets.secure.openssl: undo some error handling that makes factorcode hang"

This reverts commit 41276b77f381a57a0b4110a92380e666769950f6.

factor/factor,mrjbq7/factor,factor/factor,mrjbq7/factor,tgunr/factor,mrjbq7/factor,factor/factor,mrjbq7/factor,tgunr/factor,mrjbq7/factor,mrjbq7/factor,factor/factor,tgunr/factor,tgunr/factor,factor/factor,tgunr/factor,factor/factor,tgunr/factor