Added SASL error type

Added sending SASL error type on authentication failure, as required by standard: http://xmpp.org/rfcs/rfc6120.html#sasl-errors