Finished code audit of networking code