Param validation and new ssl option