Updated demoPeer.cs to match new API