[streaming] add memcached support for state management.