Added new snippets for server client communication