Changed to allow replication connection (Re-PR)

Re-PR of https://github.com/fuel/core/pull/1521