[TIMOB-13145] ensure to register local protocol handler when load from string/data
Merge pull request #3999 from mstepanov/timob-13145

[TIMOB-13145] ensure to register local protocol handler when load from string/data