few fixes for strict replication ssl validation switch (issue #11)