Improve memcached pear support