code: public static void sendMultiDirect(final PacketOutputStream pos, List<byte[]> sqlBytes)
        throws IOException {
      pos.startPacket(0);
      pos.write(Packet.COM_QUERY);
      for (byte[] bytes : sqlBytes) {
        pos.write(bytes);
      }
      pos.flush();
    }
docs: Send directly to socket the sql data.
  
  @param pos      output stream
  @param sqlBytes the query in UTF-8 bytes
  @throws IOException if connection error occur