Adding network communication for client and server