[WiP] Add ssl support