Keet is a P2P messenger made by Holesail. Might be something there to point you in the right direction.