Ported the SSL handshake
New way of specifying and applying STARTTLS
* Fixed ssl handshake to handle different TLS versions (code by Daniel
  Roethlisberger <daniel@roe.ch>)
* New syntax for STARTTLS to support fine-grained selection of STARTTLS
Removed all debug output
Merge pull request #4 from hreese/master

Like prev. req, now withour debug output :-)