Add SSL support when using native frontend