Add support for ssl-version option.

wip