Prevent segfault when SessionConfig is not set on a Session instance used
as initiator and a heartbeat is received.