Fix a bug in the SASL implementation as well. (some special chars would make things crash instead of being escaped)