Fix connection with SSL.