File sockets bug

File socket connections were giving an error because they were trying to use AF_INET

The commit allowed file sockets to work while still allowing TCP/IP sockets to work.