adding an error handler for the tls socket connection
Merge pull request #586 from solomon23/tls-error

tls socket missing error listener