Add option use_ssl in definition