Updated implementation of contact list and simple presence.