P2pProxy: remove unused code