GetPeerState is now const.