trustadd: parse ping results to determine whether we need to send our cert to the server

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>