Use best effort address binding to connect to the master
Use best effort address binding to connect to the master

We usually want to reach the master using the address of the interface
Redis is bound to (via the "bind" config option). That's useful since
the master will get (and publish) the slave address getting the peer
name of the incoming socket connection from the slave.

However, when this is not possible, for example because the slave is
bound to the loopback interface but repliaces from a master accessed via
an external interface, we want to still connect with the master even
from a different interface: in this case it is not really important that
the master will provide any other address, while it is vital to be able
to replicate correctly.

Related to issues #2609 and #2612.

wangyikai/redis,universsky/redis,kmiku7/redis,OmarQunsul/graph-redis,tanghaodong25/redis,Markgorden/redis,ton31337/redis,z-fork/redis,allengaller/redis,shining-yang/redis,huyuezheng/redis,Markgorden/redis,CodeJuan/redis,xuguruogu/redis,mingyaaaa/redis,allengaller/redis,ouyangkongtong/redis,yossigo/redis,hedisdb/hedis,shining-yang/redis,allengaller/redis,JoeWoo/redis,h0x91b/redis,oranagra/redis,AplayER/redis,honestme/redis,CodeJuan/redis,SummonY/redis,PradheepShrinivasan/redis,takeshineshiro/redis,mgk/redis,ctripcorp/redis,yuhc/redis-benchmark-enhanced,jingjidejuren/redis,weizijun/redis,oranagra/redis,shreesundara/redis,YuraLukashik/redis,ErikDubbelboer/redis,kaushik94/redis,saisai/redis,taoguan/redis,zhiliaoniu/redis,dreamquster/redis,gaoxianglong/redis,pcarrier/redis,supasate/redis,hornen/redis,LongXQ/redis,tellapart/redis,blackmady/redis,seandsky/redis,YongMan/redis,wenxueliu/redis_comment,mcanthony/redis,rogerchina/redis,ytjiang/redis,holstvoogd/redis,PradheepShrinivasan/redis,spinlock/redis,pkdevbox/redis,ipmobiletech/redis,a-pavlov/redis,ofirluzon/redis,linfangrong/redis,ctripcorp/redis,dreamquster/redis,hawkchch/redis,itugs/redis,Aliceljm1/redis,antirez/redis,190235047/redis,kensou97/redis,clamoriniere1A/redis,ErikDubbelboer/redis,flashbuckets/redis,tanghaodong25/redis,kaushik94/redis,kensou97/redis,universsky/redis,supasate/redis,mengyou0304/redis,davidradunz/redis,riyan8250/redis,Soledad89/redis,nnog/redis,riyan8250/redis,guker/redis,SummonY/redis,cloudrain21/redis,Soledad89/redis,itamarhaber/redis,wprice/redis,cusspvz/redis,JoeWoo/redis,huyuezheng/redis,pcarrier/redis,devaos/redis,zhcy/redis,dreamquster/redis,badboy/redis,weizijun/redis,saisai/redis,StevenTsai/redis,seppo0010/redis,tjschuck/redis,ipmobiletech/redis,badboy/redis,duanx/redis,shreesundara/redis,colstrom/redis,wprice/redis,zguangyu/redis,Markgorden/redis,Wangyao14cyy/redis,supasate/redis,soveran/redis,rogerlz/redis,YuraLukashik/redis,hedisdb/hedis,charsyam/redis,ouyangkongtong/redis,hawkchch/redis,xujunhai1991/redis,weizijun/redis,holstvoogd/redis,guker/redis,z-fork/redis,gaoxianglong/redis,wbailey5/redis,zczhuohuo/redis,AplayER/redis,StevenTsai/redis,valdsJohn/redis,ctripcorp/redis,janekmi/redis,cusspvz/redis,neomantra/redis,modulexcite/redis,modulexcite/redis,ton31337/redis,kensou97/redis,cloudrain21/redis,LongXQ/redis,spinlock/redis,AplayER/redis,ouyangkongtong/redis,guker/redis,cusspvz/redis,yossigo/redis,tellapart/redis,antirez/redis,GitHubMota/redis,AALEKH/redis,shreesundara/redis,spinlock/redis,ytjiang/redis,devaos/redis,xuguruogu/redis,Soledad89/redis,cloudrain21/redis,tanghaodong25/redis,vincent-vivian-liu/redis,atreeyang/redis,a-pavlov/redis,zhiliaoniu/redis,francischan714/redis,hornen/redis,LongXQ/redis,arijitvt/redis,soveran/redis,sunheehnus/redis,modulexcite/redis,nnog/redis,brg-liuwei/redis,rogerchina/redis,devaos/redis,pkdevbox/redis,soloestoy/redis,seppo0010/redis,duanx/redis,xujunhai1991/redis,Sciumo/redis,itugs/redis,zhiliaoniu/redis,xlzhan/redis,h0x91b/redis,mgk/redis,wenxueliu/redis_comment,tellapart/redis,francischan714/redis,netroby/redis,harrisonfeng/redis,zguangyu/redis,soloestoy/redis,wbailey5/redis,nnog/redis,dreamquster/redis,janekmi/redis,yuhc/redis-benchmark-enhanced,csuhawk/redis,blackmady/redis,izhoujie/redis,brg-liuwei/redis,MasahikoSawada/redis,zhcy/redis,tjschuck/redis,AALEKH/redis,twskipper/redis,charsyam/redis,simplestbest/redis,hawkchch/redis,CodeJuan/redis,zguangyu/redis,mverrilli/redis,soveran/redis,soloestoy/redis,yuhc/redis-benchmark-enhanced,jingjidejuren/redis,charsyam/redis,cnbin/redis,taoguan/redis,simplestbest/redis,Aliceljm1/redis,pkdevbox/redis,SummonY/redis,sunheehnus/redis,YuanZhewei/redis,universsky/redis,hgl888/redis,hedisdb/hedis,pedigree/redis,zhcy/redis,brg-liuwei/redis,ituncle/redis,kensou97/redis,ton31337/redis,tjschuck/redis,soloestoy/redis,hornen/redis,netroby/redis,NBSW/redis,jingjidejuren/redis,blackmady/redis,pmem/redis,pkdevbox/redis,twskipper/redis,mumingv/redis,NBSW/redis,kmiku7/redis,huyuezheng/redis,OmarQunsul/graph-redis,flashbuckets/redis,mumingv/redis,vincent-vivian-liu/redis,holstvoogd/redis,soloestoy/redis,mengyou0304/redis,cnbin/redis,sunheehnus/redis,zguangyu/redis,dayuoba/redis,MasahikoSawada/redis,GitHubMota/redis,harrisonfeng/redis,flashbuckets/redis,h0x91b/redis,honestme/redis,a-pavlov/redis,fengshao0907/redis,seppo0010/redis,saisai/redis,JoeWoo/redis,jackyan/redis,itugs/redis,SyntaxStacks/redis,itugs/redis,arijitvt/redis,ofirluzon/redis,rouzier/redis,kmiku7/redis,zczhuohuo/redis,tellapart/redis,programmecat/redis,cusspvz/redis,yuhc/redis-benchmark-enhanced,supasate/redis,linfangrong/redis,z-fork/redis,weizijun/redis,spinlock/redis,xujunhai1991/redis,vincent-vivian-liu/redis,qiyang0221/redis,july2993/redis,xuguruogu/redis,allengaller/redis,SyntaxStacks/redis,oranagra/redis,MasahikoSawada/redis,GitHubMota/redis,YuraLukashik/redis,SyntaxStacks/redis,brg-liuwei/redis,holstvoogd/redis,rouzier/redis,NBSW/redis,taoguan/redis,csuhawk/redis,linfangrong/redis,oranagra/redis,hedisdb/hedis,qiyang0221/redis,kaushik94/redis,mingyaaaa/redis,pmem/redis,ituncle/redis,Markgorden/redis,wbailey5/redis,ofirluzon/redis,seandsky/redis,CodeJuan/redis,4396/redis,francischan714/redis,PKRoma/redis,yossigo/redis,PKRoma/redis,hornen/redis,mumingv/redis,simplestbest/redis,aim-for-better/redis,Aliceljm1/redis,Aliceljm1/redis,july2993/redis,fengshao0907/redis,oranagra/redis,programmecat/redis,Soledad89/redis,dayuoba/redis,mcanthony/redis,neomantra/redis,PradheepShrinivasan/redis,colstrom/redis,GitHubMota/redis,francischan714/redis,cnbin/redis,rogerlz/redis,izhoujie/redis,simplestbest/redis,aim-for-better/redis,riyan8250/redis,july2993/redis,zhiliaoniu/redis,pmem/redis,ouyangkongtong/redis,mumingv/redis,Wangyao14cyy/redis,wangyikai/redis,mverrilli/redis,davidradunz/redis,janekmi/redis,wprice/redis,charsyam/redis,jackyan/redis,seandsky/redis,yossigo/redis,blackmady/redis,huyuezheng/redis,atreeyang/redis,elkingtonmcb/redis,rogerchina/redis,universsky/redis,zhcy/redis,jackyan/redis,xujunhai1991/redis,PradheepShrinivasan/redis,colstrom/redis,OmarQunsul/graph-redis,itamarhaber/redis,programmecat/redis,Sciumo/redis,ErikDubbelboer/redis,jingjidejuren/redis,twskipper/redis,hgl888/redis,GrimDerp/redis,devaos/redis,fengshao0907/redis,davidradunz/redis,programmecat/redis,pmem/redis,cloudrain21/redis,csuhawk/redis,takeshineshiro/redis,linfangrong/redis,wenxueliu/redis_comment,AplayER/redis,PKRoma/redis,zczhuohuo/redis,itamarhaber/redis,hgl888/redis,190235047/redis,badboy/redis,clamoriniere1A/redis,sunheehnus/redis,gaoxianglong/redis,ofirluzon/redis,pcarrier/redis,arijitvt/redis,ituncle/redis,takeshineshiro/redis,itamarhaber/redis,zczhuohuo/redis,shreesundara/redis,PKRoma/redis,tanghaodong25/redis,soveran/redis,twskipper/redis,hawkchch/redis,YongMan/redis,JoeWoo/redis,aim-for-better/redis,StevenTsai/redis,ofirluzon/redis,z-fork/redis,duanx/redis,rogerlz/redis,rouzier/redis,modulexcite/redis,gaoxianglong/redis,antirez/redis,h0x91b/redis,yossigo/redis,kmiku7/redis,mengyou0304/redis,antirez/redis,valdsJohn/redis,4396/redis,flashbuckets/redis,qiyang0221/redis,harrisonfeng/redis,riyan8250/redis,harrisonfeng/redis,4396/redis,ipmobiletech/redis,YuraLukashik/redis,xlzhan/redis,pcarrier/redis,valdsJohn/redis,neomantra/redis,SummonY/redis,pedigree/redis,dayuoba/redis,GrimDerp/redis,seandsky/redis,taoguan/redis,Wangyao14cyy/redis,YongMan/redis,pedigree/redis,dayuoba/redis,seppo0010/redis,elkingtonmcb/redis,vincent-vivian-liu/redis,mcanthony/redis,colstrom/redis,MasahikoSawada/redis,wenxueliu/redis_comment,atreeyang/redis,qiyang0221/redis,LongXQ/redis,clamoriniere1A/redis,Sciumo/redis,mcanthony/redis,rogerlz/redis,saisai/redis,ipmobiletech/redis,fengshao0907/redis,cnbin/redis,YuanZhewei/redis,ytjiang/redis,YuanZhewei/redis,4396/redis,mverrilli/redis,clamoriniere1A/redis,jackyan/redis,july2993/redis,NBSW/redis,190235047/redis,davidradunz/redis,190235047/redis,duanx/redis,izhoujie/redis,neomantra/redis,ton31337/redis,wbailey5/redis,shining-yang/redis,arijitvt/redis,ctripcorp/redis,xlzhan/redis,YuanZhewei/redis,honestme/redis,OmarQunsul/graph-redis,kaushik94/redis,wangyikai/redis,elkingtonmcb/redis,guker/redis,mingyaaaa/redis,YongMan/redis,a-pavlov/redis,izhoujie/redis,valdsJohn/redis,hgl888/redis,netroby/redis,elkingtonmcb/redis,xlzhan/redis,xuguruogu/redis,mengyou0304/redis,AALEKH/redis,netroby/redis,csuhawk/redis,PKRoma/redis,janekmi/redis,neomantra/redis,rogerchina/redis,SyntaxStacks/redis,charsyam/redis,Sciumo/redis,nnog/redis,StevenTsai/redis,ErikDubbelboer/redis,takeshineshiro/redis,rouzier/redis,shining-yang/redis,mgk/redis,AALEKH/redis,badboy/redis,tjschuck/redis,wangyikai/redis,wprice/redis,mverrilli/redis,ituncle/redis,mingyaaaa/redis,GrimDerp/redis,honestme/redis,Wangyao14cyy/redis,mgk/redis,atreeyang/redis,GrimDerp/redis,aim-for-better/redis,ytjiang/redis,pedigree/redis