Heartbeat request to keep session alive.

def heartbeat(self):
        """Heartbeat request to keep session alive.
        """
        unique_id = self.new_unique_id()
        message = {
            'op': 'heartbeat',
            'id': unique_id,
        }
        self._send(message)
        return unique_id