libstrophe: refactored SCRAM implementation