SSL support

Signed-off-by: nixnodes <code@nixnodes.net>
Signed-off-by: nixnodes <code@nixnodes.net>