Same as above. Just use a switch statement to get the right ProxiedAddressFamily.