cluster: Heartbeat messages should include the endpoint's features.
Build fix.
Fix crash in Endpoint::MessageThreadProc.