Update memcached host set function to not discard host ports
Add test for memcached rewriting hosts, keeping ports