Listen properly on the memcache port. Also accept connections on it...

(Previously there were some errors in copy paste and basic logic)