add SSL Server Name Indication support

pretty straight forward. i tested it with the site https://sni.velox.ch/