link GnuTLS to the assignment-client, fix timeval in SharedUtil