Added some networking code based off XNA cookbook