Heartbeat is now configurable

Lets you send in a optional param for heartbeat timeout, otherwise defaults to the current 2min timeout.