I have an SSL connection and I want to check that its status is still OK
before reading or writing. I have seen SSL_state used I think for this
purpose but can't find any documentation on it. If this a function I
should uses or is there a better what to ensure my SSL socket is still good?