[sr-dev] git:master:aff1dcd3: core: safety checks on proto variable for dsn resolving