SNI needs to be configured before SSL connect
Merge pull request #370 from bjeanes/patch-1

SNI needs to be configured before SSL connect