Fix "Error: Can't set headers after they are sent." on memcached errors
Add 'error' listener example