Add ssl_version to the list of attributes

This will ensure it is included when pickle calls __getstate__ and __setstate__.

Fixes #34