//! Client networking endpoint logic