Replace old Handshake by the new one

**Description:** replace the `client.handshake.Handshake` by `common.exchange.Handshake`. To do so, make small changes until both classes are replaceable and then remove the former.
**Testing:** tests pass.
**Coverage:** about the same for the surviving code.