add UseIPAddrForServer configuration to not require DNS for 2.x/master  

Instead of hardcoded `false`, we can use `DefaultClientConfigImpl.DEFAULT_USEIPADDRESS_FOR_SERVER`