[sr-dev] git:master:9a3b5d8c: core: fixed use of flags-based protocol detection