Make both memcache backends understand unix:// domain-socket paths

Using a domain socket works diffrent for the two memcache librarys.
memcache expects the server to be in the format unix:///var/run/memcached/memcached.sock and a port of 0.
memcached just expects /var/run/memcached/memcached.sock and a port of 0.