Change how hosts are discovered to support older versions of Memcached

Reopening #5 to address forward incompatibility. Please see new commits below.