HTTP: add support for SNI. Fixes #23