[sr-dev] git:master:b7dcbc37: core: socket info - relocate check for index to get more debugging details