This function adds an external CAfile in PEM format as trusted certificates.
Compile example files with the following gcc flags:
gcc -o bot bot.c `pkg-config --cflags --libs libstrophe`