Bug in SNI support, closing issue #4