mercurial: update for 3.8 changes
Created originally on Bitbucket by seanfarley (Sean Farley)
Was already merged in Bitbucket before import, marked as merged by the import user
Source changeset not longer availableat the time of import. Commit listwill look empty
A hack to make ssl/tls work again