Fix #309 and #69

This implements presence and statuses in WhatsApp and fixes XMPP bolts as a side-effect.