Merge pull request #88 from fengjingchao/master

healthy: add Heartbeat func
healthy: add DetectFailure func