docs: def write_frame(self, frame_type, channel, payload):
          """
          Write out an AMQP frame.
  
          """
          size = len(payload)
          self._write(pack('>BHI%dsB' % size,
              frame_type, channel, size, payload, 0xce))