title: how do I check if SSL_write is possible?
body: <p>How do I check if it is possible to write to the SSL stream using <code>SSL_write()</code>? </p>
  
  <p>I need something like</p>
  
  <pre><code>  if(SSL_write_possible(ssl))
          SSL_write(); 
  </code></pre>