I created a function for simple sending of messages, plus examples/simple.c demonstrating its usage.
void xmpp_send_simple_message(xmpp_conn_t *conn,
const char * const to,
const char * const message);
Patch attached here: https://gist.github.com/3318616