As for ssl open vs mqtt open, I originally tried with mqtt open, but since it was failing I wanted to get something simpler (plain tcp+ssl socket) to see if that works - and after it works move back to mqtt. I.e. narrow down the problem.
I think that I’ve tried \n and \r endlines, but not \r\n yet, will check that asap.