Fixed sip_publish_presence to consider PUBLISH failures when republishing

Ignore-this: 1883371bf8a0f589802cc3666ffb56d9

darcs-hash:20090330185453-1e3d8-435ffd222318a3dfb11c2c258d488e0d239debfa
Fixed sip_publish_presence to use output queue for writing

Ignore-this: 368fd2cf09e3225a5559baba0773c970

darcs-hash:20090330185525-1e3d8-7e05bf0bc1b6e74d6308ca81634a32709f669d3b