Handle UNIX domain sockets correctly in memcache & memcached extensions