Use $replication_info everywhere, instead of $server_* variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>