Java P2P chat with automatic peer discovery