Make BOSH handling a bit more loggery
Handle presence types properly.