Enhancement: Gateways should directly talk to themselves

The CS3 gateway can directly to itself when it wants to talk to the registries running in the same reva runtime.

https://github.com/owncloud/ocis/pull/9714
