fixed SNI support for https, so Gitlab doesn't assume it is default