Handshake starts with a Json Cmd_Handshake.

No separate coreid.
Remove unused.