dap/Net-XMPP — pull request #5 by dmansfield (2013-07-30 20:25:22+00:00)
Title: if StartTLS fails, bail out with an error message

Trap the case of StartTLS failing. To get the actual error code we need the old SID.

This requires the updated version of XML-Stream which was submitted in a pull request for that project.