VersionProxy: refactor getlongestService
zmq: fix logging messages in SeD