Allow specifying allowed ssl protocol versions via attributes

Example taken from https://gist.github.com/michaelklishin/3f47bae850bdd9f1a79a