Merge pull request #265 from flycash/bug/reverseRegistryProtocol

Fix: Revert the registryProtocol.GetProtocol() to its original codes