Add memcached options configuration and handling

closes #34