Condensed code for peer client connection in zetta.