Some tests for presence take over

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Warnings

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Testing presence take over

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
VCardSet: call check_user_key from a different thread (close #108)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Thread pool with one thread only

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Begin refactoring of c2s and sm into their own modules

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Moving all stuff into c2s

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Going on with resolver execution :)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Presence cache should work fine now

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Resolver constant no longer exists

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Solve some redundancy issues with presence broadcasts

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Presence subscriptions working correctly

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Message delivery with confirmations working locally

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Begin to fix some interserver issues

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Consume subscription stanza

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Message authorization process now working

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Use getAttribute to avoid KeyErrors

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix remote presence subscription and authorization

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix local presence processing

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Consume unsubscribed stanzas

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>