I'm pretty sure there's already one out there, The Unity Networking example projects. If you use Python than there are also some free examples available on the Asset Store. EDIT: The Unity Networking Example Project has been removed because it was too old.