ISPN-2281 Enable inter-server endpoint communication

4 commits with all the necessary bits to get endpoint interoperability working.

Attention: CLI and Upgrade tools testsuites are broken. This is because they need to be adjusted to metadata changes and storage of raw types. Tristan is going to look into this since it needs some refactoring on both of these modules.