* Fixing the ssl part to be more flexible.