common/safesyssocket.h: We need the same workaround for socket() too.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16992 6b2f1b92-a4f3-0310-943f-de3cbe41748b
net/progclient.cc: Fix typo so we actually use SOCK_CLOEXEC.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16993 6b2f1b92-a4f3-0310-943f-de3cbe41748b