Detecting SNI support in javascript
===

I want to be able to detect if the browser support SNI.  I'm hoping to redirect non compliant clients to a different address.

I was thinking of loading some content through SSL and make sure it was transfered securely.  Otherwise the browser doesn't support SNI.  Can this be done? 