fixed a couple of compile errors in PeerSession.cpp