'Check heartbeats.
Allow the transport to perform any periodic tasks
required to make heartbeats work.  This should be called
approximately every second.
If the current transport does not support heartbeats then
this is a noop operation.
Arguments:
rate (int): Rate is how often the tick is called
compared to the actual heartbeat value.  E.g. if
the heartbeat is set to 3 seconds, and the tick
is called every 3 / 2 seconds, then the rate is 2.
This value is currently unused by any transports.'

def heartbeat_check(self, rate=2):

    return self.transport.heartbeat_check(self.connection, rate=rate)
