[CR-4060][OPENIDM-2017] Fixed OpenIDM heartbeat connection to remote connectors.

git-svn-id: https://svn.forgerock.org/openidm/trunk@3564 d98387aa-ee2c-4292-a9e6-504d2a719fd3
FR-285

OPENIDM-2001

git-svn-id: https://svn.forgerock.org/openidm/trunk@3566 d98387aa-ee2c-4292-a9e6-504d2a719fd3