Generates a batch of messages for the given contact from the given
collection of requested messages, and returns the IDs of any messages
that were either added to the batch, or were considered for inclusion
but are no longer sendable to the contact.
Attempts to establish incoming and/or outgoing connections using the
current transport and configuration properties, and passes any created
readers and/or writers to the callback.