added configurable heartbeat interval and number of heartbeats before dead
Merge pull request #4 from jonp/configuration

added configurable heartbeat interval and number of heartbeats before dead