added more networking functions and refactored a little
Merge branch 'master' of github.com:Dr-Jerm/nmGameJam2013