Added support for SSL and multiple recipients