Added ToSocketAddr trait
Added ToSocketAddr trait

This commit adds ToSocketAddr trait to std::io::net::ip module. This
trait is used for generic conversion from different types (strings,
(string, u16) tuples, etc.) into a SocketAddr instance. It supports
multiple output SocketAddresses when it is appropriate (e.g. DNS name
resolution).

This trait is going to be used by TcpStream, TcpListener and UdpSocket
structures.

mvdnes/rust,robertg/rust,reem/rust,jashank/rust,ktossell/rust,philyoon/rust,ebfull/rust,TheNeikos/rust,mvdnes/rust,defuz/rust,mihneadb/rust,avdi/rust,barosl/rust,rprichard/rust,reem/rust,sae-bom/rust,ruud-v-a/rust,krzysz00/rust,victorvde/rust,pelmers/rust,ktossell/rust,victorvde/rust,l0kod/rust,mahkoh/rust,vhbit/rust,carols10cents/rust,barosl/rust,TheNeikos/rust,jashank/rust,vhbit/rust,miniupnp/rust,aidancully/rust,seanrivera/rust,aepsil0n/rust,nwin/rust,dinfuehr/rust,cllns/rust,robertg/rust,sae-bom/rust,rohitjoshi/rust,andars/rust,andars/rust,mihneadb/rust,omasanori/rust,miniupnp/rust,hauleth/rust,gifnksm/rust,sae-bom/rust,AerialX/rust,seanrivera/rust,vhbit/rust,pelmers/rust,0x73/rust,hauleth/rust,GBGamer/rust,dinfuehr/rust,avdi/rust,aneeshusa/rust,kwantam/rust,barosl/rust,robertg/rust,kwantam/rust,hauleth/rust,carols10cents/rust,TheNeikos/rust,rprichard/rust,XMPPwocky/rust,andars/rust,mihneadb/rust,vhbit/rust,carols10cents/rust,omasanori/rust,KokaKiwi/rust,dwillmer/rust,gifnksm/rust,aidancully/rust,defuz/rust,krzysz00/rust,0x73/rust,cllns/rust,philyoon/rust,miniupnp/rust,victorvde/rust,mvdnes/rust,richo/rust,l0kod/rust,aidancully/rust,nwin/rust,GBGamer/rust,rohitjoshi/rust,emk/rust,krzysz00/rust,graydon/rust,zachwick/rust,rohitjoshi/rust,philyoon/rust,ruud-v-a/rust,jroesch/rust,0x73/rust,mahkoh/rust,graydon/rust,mdinger/rust,quornian/rust,KokaKiwi/rust,AerialX/rust,vhbit/rust,reem/rust,omasanori/rust,quornian/rust,untitaker/rust,barosl/rust,avdi/rust,kimroen/rust,miniupnp/rust,dwillmer/rust,KokaKiwi/rust,XMPPwocky/rust,zubron/rust,kwantam/rust,miniupnp/rust,AerialX/rust-rt-minimal,jashank/rust,quornian/rust,AerialX/rust,untitaker/rust,zaeleus/rust,ejjeong/rust,GBGamer/rust,richo/rust,rprichard/rust,victorvde/rust,pshc/rust,mdinger/rust,andars/rust,GBGamer/rust,mdinger/rust,emk/rust,zachwick/rust,rprichard/rust,emk/rust,miniupnp/rust,defuz/rust,andars/rust,kimroen/rust,rprichard/rust,seanrivera/rust,jroesch/rust,graydon/rust,jashank/rust,emk/rust,sae-bom/rust,aneeshusa/rust,ebfull/rust,jashank/rust,nwin/rust,untitaker/rust,pshc/rust,aidancully/rust,rohitjoshi/rust,aneeshusa/rust,seanrivera/rust,richo/rust,mahkoh/rust,AerialX/rust-rt-minimal,jroesch/rust,mdinger/rust,zachwick/rust,philyoon/rust,dwillmer/rust,zubron/rust,l0kod/rust,jroesch/rust,ktossell/rust,bombless/rust,cllns/rust,krzysz00/rust,l0kod/rust,richo/rust,seanrivera/rust,AerialX/rust-rt-minimal,dwillmer/rust,AerialX/rust,XMPPwocky/rust,zubron/rust,defuz/rust,nwin/rust,aepsil0n/rust,carols10cents/rust,aneeshusa/rust,miniupnp/rust,graydon/rust,ejjeong/rust,barosl/rust,zaeleus/rust,dwillmer/rust,seanrivera/rust,l0kod/rust,untitaker/rust,zachwick/rust,0x73/rust,robertg/rust,cllns/rust,rprichard/rust,sae-bom/rust,ktossell/rust,mahkoh/rust,untitaker/rust,barosl/rust,avdi/rust,emk/rust,andars/rust,pshc/rust,pshc/rust,krzysz00/rust,pelmers/rust,mdinger/rust,TheNeikos/rust,0x73/rust,ejjeong/rust,aepsil0n/rust,zubron/rust,aneeshusa/rust,mihneadb/rust,avdi/rust,philyoon/rust,richo/rust,pelmers/rust,miniupnp/rust,dwillmer/rust,gifnksm/rust,jroesch/rust,pelmers/rust,XMPPwocky/rust,bombless/rust,AerialX/rust-rt-minimal,mdinger/rust,TheNeikos/rust,reem/rust,richo/rust,victorvde/rust,barosl/rust,kimroen/rust,zubron/rust,quornian/rust,ruud-v-a/rust,TheNeikos/rust,quornian/rust,kwantam/rust,0x73/rust,mihneadb/rust,kimroen/rust,hauleth/rust,dinfuehr/rust,emk/rust,untitaker/rust,jashank/rust,ktossell/rust,zachwick/rust,bombless/rust-docs-chinese,cllns/rust,pshc/rust,jroesch/rust,gifnksm/rust,emk/rust,bombless/rust,ebfull/rust,vhbit/rust,zaeleus/rust,zubron/rust,aneeshusa/rust,quornian/rust,pshc/rust,nwin/rust,dinfuehr/rust,l0kod/rust,bombless/rust,graydon/rust,0x73/rust,mvdnes/rust,dinfuehr/rust,carols10cents/rust,quornian/rust,ktossell/rust,ebfull/rust,victorvde/rust,avdi/rust,zaeleus/rust,l0kod/rust,GBGamer/rust,mahkoh/rust,kimroen/rust,mvdnes/rust,kwantam/rust,aidancully/rust,AerialX/rust-rt-minimal,rohitjoshi/rust,sae-bom/rust,hauleth/rust,zachwick/rust,l0kod/rust,aepsil0n/rust,XMPPwocky/rust,jroesch/rust,jashank/rust,zubron/rust,hauleth/rust,nwin/rust,KokaKiwi/rust,ejjeong/rust,ruud-v-a/rust,kwantam/rust,omasanori/rust,robertg/rust,vhbit/rust,XMPPwocky/rust,jroesch/rust,pshc/rust,cllns/rust,gifnksm/rust,pelmers/rust,ejjeong/rust,ktossell/rust,jashank/rust,gifnksm/rust,ebfull/rust,zaeleus/rust,GBGamer/rust,zubron/rust,ebfull/rust,GBGamer/rust,aepsil0n/rust,defuz/rust,aepsil0n/rust,defuz/rust,reem/rust,dwillmer/rust,ruud-v-a/rust,dwillmer/rust,pshc/rust,AerialX/rust,ruud-v-a/rust,omasanori/rust,nwin/rust,krzysz00/rust,kimroen/rust,reem/rust,bombless/rust,vhbit/rust,graydon/rust,mihneadb/rust,carols10cents/rust,aidancully/rust,rohitjoshi/rust,GBGamer/rust,ejjeong/rust,KokaKiwi/rust,kimroen/rust,nwin/rust,AerialX/rust-rt-minimal,AerialX/rust,philyoon/rust,zaeleus/rust,omasanori/rust,bombless/rust,KokaKiwi/rust,mvdnes/rust,robertg/rust,mahkoh/rust,dinfuehr/rust