Networking code done

Tested player join, Player quit, Server join, Server left, Chat, message
and pm. Works with the chatserver