Replication: put server.master client creation into separated function.
Replication: put server.master client creation into separated function.

JackieXie168/redis,JackieXie168/redis,JackieXie168/redis,JackieXie168/redis