Add memcache options

* Added timeout config options for memcache
* Fixed amazingly stupid err trap
* Fixed ACK err for expired records
* Added stackdump for unhandled ACK error messages.