[mosq] add ssl support