public static void send(XMPPConnection connection, Stanza packet, Collection<? extends Jid> to,
            Collection<? extends Jid> cc, Collection<? extends Jid> bcc) throws NoResponseException, XMPPErrorException,
            FeatureNotSupportedException, NotConnectedException, InterruptedException {
        send(connection, packet, to, cc, bcc, null, null, false);
    }
public static void send ( XMPPConnection connection , Stanza packet , Collection < ? extends Jid > to , Collection < ? extends Jid > cc , Collection < ? extends Jid > bcc ) throws NoResponseException , XMPPErrorException , FeatureNotSupportedException , NotConnectedException , InterruptedException { send ( connection , packet , to , cc , bcc , null , null , false ) ; }
Sends the specified stanza to the collection of specified recipients using the
specified connection. If the server has support for XEP-33 then only one
stanza is going to be sent to the server with the multiple recipient instructions.
However, if XEP-33 is not supported by the server then the client is going to send
the stanza to each recipient.

@param connection the connection to use to send the packet.
@param packet     the stanza to send to the list of recipients.
@param to         the collection of JIDs to include in the TO list or <tt>null</tt> if no TO
list exists.
@param cc         the collection of JIDs to include in the CC list or <tt>null</tt> if no CC
list exists.
@param bcc        the collection of JIDs to include in the BCC list or <tt>null</tt> if no BCC
list exists.
@throws FeatureNotSupportedException if special XEP-33 features where requested, but the
server does not support them.
@throws XMPPErrorException if server does not support XEP-33: Extended Stanza Addressing and
some XEP-33 specific features were requested.
@throws NoResponseException if there was no response from the server.
@throws NotConnectedException
@throws InterruptedException