Added courier support
Added SSL support