Implement java peer 2 peer network