Added base ssl options handling.
Bug fixes.
Documented command line options.