heartbeat patch

This patch is just arranged for twemproxy_heartbeat branch.