Fix #297 - Permit 0 as a port number for Memcache

Fix for #297