Robust hash ring failure retry mechanism

Applying robush hash ring failure into random and modula

Fix issue #126

Fix: issue #128
Merge branch 'check_connection2' of git://github.com/charsyam/twemproxy into twemproxy_heartbeat

Conflicts:
	src/nc_server.c