When checking replication status, ensure to pass SSL flag along to connections to the master as well.
Merge pull request #500 from oswell/master

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