implement basic client network functionality.