Add key_checksockaddrs() function.
It will be used to check that sockaddr structures from PF_KEY message are properly filled.