cyassl is retried with the same write on a SSL_ERROR_WANT_WRITE, the wri...

...te is failed if it has not completed and it has been more than a second.

Signed-off-by: Mike Stitt <mikes@spindance.com>

See https://spindance.atlassian.net/browse/ALII-4195

@raensink please review.
As I understand it, they have a fix in the pipeline, to flag when we violate the API by note retrying a SSL_ERROR_WANT_WRITE with the same CyaSSL_send/write parameters (or bigger) that we did the call before.

I think that fix will end up being similar to the debug code we already added.