A peer-to-peer instant-messaging library