Only send g when we're not computing cardinality
Store actually overlapping preference, instead of the last 32 bits
Maintain connections to our friend and at most one foaf per friend
Removed PING_INTERVAL constant