add networking related snippets