Minor changes to compile under C++11
Begin migration to Cyrus SASL
Some work on Cyrus SASL implementation