Add support for serving HTTPS with SNI.

Update client example to support adding domains with certificates.

Signed-off-by: Michael Elsdörfer <michael@elsdoerfer.com>