Better support for cURL streams.
Helper methods for PDF attachments. Methods to get the existing attachment and to upload a new attachment.