Better handling of localhost local peer.