Fix SSL support