I had a similar idea - I would keep ``https`` separate, but all the certificate things and ssl version could be combined into a single ssl option. Maybe instead of a dict one could envisage a class with properties that could then do more type checking and things like that.