fix(connection): capture the tls on error
Merge pull request #102 from virgo-agent-toolkit/fixes/tls_on_error

fix(connection): capture the tls on error