public RpcClient peerWith(PeerInfo serverInfo,Bootstrap bootstrap,Map<String,Object> attributes) throws IOException {
  InetSocketAddress remoteAddress=new InetSocketAddress(serverInfo.getHostName(),serverInfo.getPort());
  return peerWith(remoteAddress,bootstrap,attributes);
}

public RpcClient peerWith ( PeerInfo serverInfo , Bootstrap bootstrap , Map < String , Object > attributes ) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress ( serverInfo . getHostName ( ) , serverInfo . getPort ( ) ) ; return peerWith ( remoteAddress , bootstrap , attributes ) ; }
create a new client with the provided attributes to the remoteaddress .
