lockdown: make sure type is always free'd in lockdownd_client_new_with_handshake