Implement Memcached::quit

Closes #4455