fix accept nonzero as close from WRITEABLE callback

Signed-off-by: Andy Green <andy.green@linaro.org>
allow signals during send

Signed-off-by: Andy Green <andy.green@linaro.org>
fix ssl error reporting

Signed-off-by: Andy Green <andy.green@linaro.org>