add client type in handshake message