Suggested changes for memcache support

Signed-off-by: Robin Smith <robin.smith@clicktravel.com>