Added heartbeat message sending
Sending heartbeat is configurable