fix(tls): on socket error, call callback
Merge pull request #494 from luvit/fixes/econnreset_on_socket

fix(tls): on socket error, call callback