I don't see what the error in your code is @JohnAD. Is this a bug caused by the new SSL changes? (Does it work in 1.0?) Is the problem that a new SSL context isn't created?
@federico3 if this is a programmer bug then we shouldn't be crashing in such a confusing way. Can this be improved?
