Added connect/start_session parameters around heartbeat.