fix memcached local tcp address handling