Fix regression with memcache possibly listening on wrong address

With the HA support in commit a541099b, we lost the code ensuring that
memcache only listens where it should (when HA is used; it kept working
fine for non-HA).
Merge pull request #143 from vuntz/memcache-listen

Fix regression with memcache possibly listening on wrong address