Use AF_UNIX for file socket connections

File socket connections were giving an error because they were trying to use AF_INET