Fix a bug which caused not to create AF_LOCAL sockets when family is specified.
Spotted by: Alex Deiter