refactor 'client' to SocksToRTC.Peer