Handle correctly the ssl connection parameter and add specs