Add very basic logic to figure out supported cipher suites.
Add logic to detect support for TLS compression and TLS versions.

More robust error handling as well.