Rewrited StreamSecurityMode enum to assure that Q_ENUMS work