Fixed node v0.8.22 combatibility and added legacy auth / non SASL auth capability