Add support for PolarSSL's SNI implementation.  fixes #2