Allow setting hostname to support TLS-SNI

Note that at present, this doesn't work properly because the `Ssl` struct isn't public.  Before just making it public, I figured that I'd ask what you thought first :smile: