Use same socket family as the endpoint when retrieving the policy