SAS event naming tidy-up
Tweak realm resolution
Set up peer_info structure correctly