add heart-beat
Merge pull request #10 from jmesnil/heartbeat

add heart-beat