SNI support for virtualhosts (courtesy of jimyx17)