added ability to override memcached host and port early