Added heartbeat configuration setting

Added configuration setting for the connection heartbeat