Added support for using StartTLS on port 587 and TLS/SSL on port 465 when 'SSL' is enabled in GUI.
Merge pull request #65 from lindegroup/starttls-support

StartTLS Support