Add TLS support

Why do you include the server name here? Makes it more blockable in theory, although I suppose this is all tunneled anyway.