Fixing the experimental SSL support.
Fixing the broken tests.