More updates to networking code for client.