Add support for sending bar iq stanzas, which is required for responding to pings.