check errno for ssl non ssl
check errno for ssl non ssl

After thomgree

https://github.com/warmcat/libwebsockets/issues/313

Signed-off-by: Andy Green <b471f5a494de34531c9e5a6e15abda71edd49104@linaro.org>
ralight/libwebsockets,dumganhar/libwebsockets,SoapyMan/libwebsockets,SoapyMan/libwebsockets,pombredanne/libwebsockets,sartura/libwebsockets,dumganhar/libwebsockets,ralight/libwebsockets,sartura/libwebsockets,SoapyMan/libwebsockets,dumganhar/libwebsockets,dumganhar/libwebsockets,SoapyMan/libwebsockets,sartura/libwebsockets,dumganhar/libwebsockets,ralight/libwebsockets,ralight/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,pombredanne/libwebsockets,SoapyMan/libwebsockets,sartura/libwebsockets,pombredanne/libwebsockets,pombredanne/libwebsockets,sartura/libwebsockets,ralight/libwebsockets