a simple p2p chat in php