FIX: increase the host length to 273 in ketama_update, check the hostlen and make sure hostlen is equal or less than KETAMA_MAX_HOSTLEN
FIX: increase the host length to 273 in ketama_update, check the hostlen and make sure hostlen is equal or less than KETAMA_MAX_HOSTLEN

From https://github.com/twitter/twemproxy/pull/567

Amended to remove the trailing null byte if this does truncate,
which shouldn't happen in practice

ifwe/twemproxy,ifwe/twemproxy,ifwe/twemproxy,ifwe/twemproxy