Honour SSL flag provided when connecting to the Master for replication lag check.

If SSL is enabled on a check for replication lag, it should be honoured when connection to the primary node.  Previously it defaulted to ssl=False even if set on the command line.